has_.has(object, key)
Does the object contain the given key? Identical to object.hasOwnProperty(key), but uses a safe reference to the hasOwnProperty function, in case it's been overridden accidentally.
1 2 | _.has({a: 1, b: 2, c: 3}, "b" ); => true |
Please login to continue.