Sha256: 9aa5f53b261d9dd275f3797297fb2745b647194673d423d3a8601833956c88d8
Contents?: true
Size: 476 Bytes
Versions: 153
Compression:
Stored size: 476 Bytes
Contents
var baseGet = require('./baseGet'), toPath = require('./toPath'); /** * A specialized version of `baseProperty` which supports deep paths. * * @private * @param {Array|string} path The path of the property to get. * @returns {Function} Returns the new function. */ function basePropertyDeep(path) { var pathKey = (path + ''); path = toPath(path); return function(object) { return baseGet(object, path, pathKey); }; } module.exports = basePropertyDeep;
Version data entries
153 entries across 80 versions & 8 rubygems