MCPcopy Create free account
hub / github.com/RubyLouvre/anu / hasIn

Function hasIn

test/babel.js:54572–54574  ·  view source on GitHub ↗

* Checks if `path` is a direct or inherited property of `object`. * * @static * @memberOf _ * @since 4.0.0 * @category Object * @param {Object} object The object to query. * @param {Array|string} path The path to check. * @returns {boolean} Returns `true` if `path` exists, else `fals

(object, path)

Source from the content-addressed store, hash-verified

54570 * // => false
54571 */
54572 function hasIn(object, path) {
54573 return object != null && hasPath(object, path, baseHasIn);
54574 }
54575
54576 module.exports = hasIn;
54577

Callers 1

baseMatchesPropertyFunction · 0.85

Calls 1

hasPathFunction · 0.85

Tested by

no test coverage detected