This commit is contained in:
fofolee
2019-03-27 12:19:53 +08:00
parent 2e8928571e
commit 603b7ae0ef
484 changed files with 27927 additions and 5307 deletions

19
node_modules/lodash/internal/basePropertyDeep.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
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;