@effect/data
Advanced tools
Comparing version 0.16.1 to 0.16.2
{ | ||
"name": "@effect/data", | ||
"version": "0.16.1", | ||
"version": "0.16.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -262,3 +262,3 @@ "use strict"; | ||
exports.isUnknown = isUnknown; | ||
const isObject = input => typeof input === "object" && input != null; | ||
const isObject = input => typeof input === "object" && input != null || isFunction(input); | ||
/** | ||
@@ -265,0 +265,0 @@ * A guard that succeeds when the input is `null` or `undefined`. |
@@ -284,3 +284,4 @@ /** | ||
*/ | ||
export const isObject = (input: unknown): input is object => typeof input === "object" && input != null | ||
export const isObject = (input: unknown): input is object => | ||
(typeof input === "object" && input != null) || isFunction(input) | ||
@@ -287,0 +288,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2935261
61895