MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / property

Function property

lib/web/jshint.js:12803–12805  ·  view source on GitHub ↗

* Creates a function which returns the property value at `path` on a * given object. * * @static * @memberOf _ * @category Utility * @param {Array|string} path The path of the property to get. * @returns {Function} Returns the new function. * @example *

(path)

Source from the content-addressed store, hash-verified

12801 * // => [1, 2]
12802 */
12803 function property(path) {
12804 return isKey(path) ? baseProperty(path) : basePropertyDeep(path);
12805 }
12806
12807 /**
12808 * The opposite of `_.property`; this method creates a function which returns

Callers 2

baseCallbackFunction · 0.70
pluckFunction · 0.70

Calls 3

isKeyFunction · 0.85
basePropertyFunction · 0.85
basePropertyDeepFunction · 0.85

Tested by

no test coverage detected