vigour-util
Advanced tools
Comparing version 1.0.0 to 1.0.1
'use strict' | ||
module.exports = function isEmpty (obj) { | ||
var found | ||
if (obj.each) { | ||
obj.each(function (property, key) { | ||
if (property.__input !== null) { | ||
return (found = true) | ||
return false | ||
} | ||
@@ -15,3 +14,3 @@ }) | ||
} | ||
return !found | ||
return true | ||
} |
{ | ||
"name": "vigour-util", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": "Vigour.io <dev@vigour.io>", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
35137
1008