Comparing version 1.0.0 to 1.0.1
@@ -49,2 +49,11 @@ var defined = {}; | ||
/** | ||
* Returns whether variable is 'valid'; is is defined and not an error. | ||
* @param v | ||
* @returns {boolean} | ||
*/ | ||
defined.is_valid = function(v) { | ||
return defined.is_defined(v) && !(v instanceof Error); | ||
} | ||
module.exports = defined; |
{ | ||
"name": "isdefined", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Utilities for working with undefined properties", | ||
@@ -5,0 +5,0 @@ "main": "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
2851
51