@ctx-core/object
Advanced tools
Comparing version 3.2.4 to 3.3.0
@@ -31,3 +31,12 @@ import { _andand } from '@ctx-core/function' | ||
export const toString = Object.prototype.toString | ||
const isArray__native = Array.isArray | ||
/** | ||
* Is the argument an Array? | ||
* @param obj | ||
* @returns {boolean} | ||
*/ | ||
export function isArray(obj) { | ||
return isArray__native ? isArray__native(obj) : toString.call(obj) === '[object Array]' | ||
} | ||
/** | ||
* Returns boolean of `obj` is an object | ||
@@ -34,0 +43,0 @@ * @param obj |
{ | ||
"name": "@ctx-core/object", | ||
"version": "3.2.4", | ||
"version": "3.3.0", | ||
"description": "ctx-core object", | ||
@@ -24,5 +24,5 @@ "main": "lib.js", | ||
"dependencies": { | ||
"@ctx-core/function": "^5.6.1" | ||
"@ctx-core/function": "^6.0.0" | ||
}, | ||
"gitHead": "5c088669a3288008c13894e38be40b1344ba9791" | ||
"gitHead": "6e0a03a3dbbf6b2d1aaadf94fe6250e537ae3457" | ||
} |
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
11395
140
391
+ Added@ctx-core/function@6.0.0(transitive)
- Removed@ctx-core/function@5.6.1(transitive)
Updated@ctx-core/function@^6.0.0