Sha256: 9168de234c552d79a2fd00fdb8c49a4050b47e28fe89886cbbb57d4753ee3b3f
Contents?: true
Size: 360 Bytes
Versions: 290
Compression:
Stored size: 360 Bytes
Contents
/** * The base implementation of `_.property` without support for deep paths. * * @private * @param {string} key The key of the property to get. * @returns {Function} Returns the new accessor function. */ function baseProperty(key) { return function(object) { return object == null ? undefined : object[key]; }; } module.exports = baseProperty;
Version data entries
290 entries across 267 versions & 32 rubygems