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

16 行
391 B

4 年前
  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;