Files
lodash/.internal/basePropertyDeep.js
John-David Dalton 6cb3460fce Remove semicolons.
2017-02-05 22:22:04 -08:00

15 lines
360 B
JavaScript

import baseGet from './baseGet.js'
/**
* 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 accessor function.
*/
function basePropertyDeep(path) {
return object => baseGet(object, path)
}
export default basePropertyDeep