您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

_basePropertyDeep.js 391B

12345678910111213141516
  1. var baseGet = require('./_baseGet');
  2. /**
  3. * A specialized version of `baseProperty` which supports deep paths.
  4. *
  5. * @private
  6. * @param {Array|string} path The path of the property to get.
  7. * @returns {Function} Returns the new accessor function.
  8. */
  9. function basePropertyDeep(path) {
  10. return function(object) {
  11. return baseGet(object, path);
  12. };
  13. }
  14. module.exports = basePropertyDeep;