Urara-Blog/node_modules/.pnpm-store/v3/files/a8/0466fb5524c93028161bcf046889f7467274977ae57ff81b7da96babcd1900b7efadd99fee25c884ceff46724fa904e38ad443485b43ffbc108cd08e7b8dd0
2022-08-14 01:14:53 +08:00

14 lines
358 B
Text

/**
* 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.
*/
function basePropertyOf(object) {
return function(key) {
return object == null ? undefined : object[key];
};
}
module.exports = basePropertyOf;