validate.io-object
Advanced tools
Comparing version 0.0.0 to 0.0.1
@@ -40,6 +40,3 @@ /** | ||
function isObject( value ) { | ||
if ( typeof value !== 'object' || value === null || Array.isArray( value ) === true ) { | ||
return false; | ||
} | ||
return true; | ||
return ( typeof value === 'object' && value !== null && Array.isArray( value ) !== true ); | ||
} // end FUNCTION isObject() | ||
@@ -46,0 +43,0 @@ |
{ | ||
"name": "validate.io-object", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "Validates if a value is a plain JavaScript object.", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -15,2 +15,5 @@ Object | ||
For use in the browser, use [browserify](https://github.com/substack/node-browserify). | ||
## Usage | ||
@@ -17,0 +20,0 @@ |
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
5541
98
42