• File: _basePropertyDeep.js
  • Full Path: /var/www/nodejs/callDir/node_modules/lodash/_basePropertyDeep.js
  • Date Modified: 06/03/2024 5:11 PM
  • File size: 391 bytes
  • MIME-type: text/plain
  • Charset: utf-8
var baseGet = require('./_baseGet');

/**
 * 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 function(object) {
    return baseGet(object, path);
  };
}

module.exports = basePropertyDeep;