objectorarray
Advanced tools
Comparing version 1.0.1 to 1.0.2
export default (val) => { | ||
return val !== null && typeof val === 'object' && val.constructor !== RegExp | ||
return val != null && typeof val === 'object' && val.constructor !== RegExp | ||
} |
{ | ||
"name": "objectorarray", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Is the value an object or an array but not null?", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
107326