has-value
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -14,3 +14,3 @@ /*! | ||
module.exports = function(obj, path, options) { | ||
if (isObject(obj) && typeof path === 'string' || Array.isArray(path)) { | ||
if (isObject(obj) && (typeof path === 'string' || Array.isArray(path))) { | ||
return has(get(obj, path, options)); | ||
@@ -17,0 +17,0 @@ } |
{ | ||
"name": "has-value", | ||
"description": "Returns true if a value exists, false if empty. Works with deeply nested values using object paths.", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"homepage": "https://github.com/jonschlinkert/has-value", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
10549