MCPcopy
hub / github.com/lodash/lodash / basePropertyOf

Function basePropertyOf

lodash.js:906–910  ·  view source on GitHub ↗

* The base implementation of `_.propertyOf` without support for deep paths. * * @private * @param {Object} object The object to query. * @returns {Function} Returns the new accessor function.

(object)

Source from the content-addressed store, hash-verified

904 * @returns {Function} Returns the new accessor function.
905 */
906 function basePropertyOf(object) {
907 return function(key) {
908 return object == null ? undefined : object[key];
909 };
910 }
911
912 /**
913 * The base implementation of `_.reduce` and `_.reduceRight`, without support

Callers 1

lodash.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected