1 var baseGet = require('./baseGet'),
2 toPath = require('./toPath');
5 * A specialized version of `baseProperty` which supports deep paths.
8 * @param {Array|string} path The path of the property to get.
9 * @returns {Function} Returns the new function.
11 function basePropertyDeep(path) {
12 var pathKey = (path + '');
14 return function(object) {
15 return baseGet(object, path, pathKey);
19 module.exports = basePropertyDeep;