MCPcopy Create free account
hub / github.com/deployd/deployd / hasIn

Function hasIn

test-app/public/sinon.js:23814–23816  ·  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. * @retur

(object, path)

Source from the content-addressed store, hash-verified

23812 * // => false
23813 */
23814 function hasIn(object, path) {
23815 return object != null && hasPath(object, path, baseHasIn);
23816 }
23817
23818 /**
23819 * Creates an object composed of the inverted keys and values of `object`.

Callers 2

baseMatchesPropertyFunction · 0.85
basePickFunction · 0.85

Calls 1

hasPathFunction · 0.85

Tested by

no test coverage detected