* 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.
(path)
| 51935 | * @returns {Function} Returns the new accessor function. |
| 51936 | */ |
| 51937 | function basePropertyDeep(path) { |
| 51938 | return function (object) { |
| 51939 | return baseGet(object, path); |
| 51940 | }; |
| 51941 | } |
| 51942 | |
| 51943 | module.exports = basePropertyDeep; |
| 51944 |