Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

_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;