Sha256: 9043e627cc16d643bd04bab70b74d1b0a66021b18a8d853b9031e9b038c7b9da
Contents?: true
Size: 360 Bytes
Versions: 14
Compression:
Stored size: 360 Bytes
Contents
/** * The base implementation of `_.property` which does not coerce `key` to a string. * * @private * @param {string} key The key of the property to get. * @returns {Function} Returns the new function. */ function baseProperty(key) { return function(object) { return object == null ? undefined : object[key]; }; } module.exports = baseProperty;
Version data entries
14 entries across 7 versions & 1 rubygems