MCPcopy
hub / github.com/giancarloerra/SocratiCode / get

Function get

src/assets/dagre.min.js:2610–2610  ·  view source on GitHub ↗

* Gets the value at `path` of `object`. If the resolved value is * `undefined`, the `defaultValue` is returned in its place. * * @static * @memberOf _ * @since 3.7.0 * @category Object * @param {Object} object The object to query. * @param {Array|string} path The path of the property to get.

(object,path,defaultValue)

Source from the content-addressed store, hash-verified

2608 * _.get(object, 'a.b.c', 'default');
2609 * // => 'default'
2610 */function get(object,path,defaultValue){var result=object==null?undefined:baseGet(object,path);return result===undefined?defaultValue:result}module.exports=get},{"./_baseGet":89}],239:[function(require,module,exports){var baseHas=require("./_baseHas"),hasPath=require("./_hasPath");
2611/**
2612 * Checks if `path` is a direct property of `object`.
2613 *

Callers 1

baseMatchesPropertyFunction · 0.85

Calls 1

baseGetFunction · 0.85

Tested by

no test coverage detected