wrapperValue.js 455 B

123456789101112131415161718192021
  1. var baseWrapperValue = require('./_baseWrapperValue');
  2. /**
  3. * Executes the chain sequence to resolve the unwrapped value.
  4. *
  5. * @name value
  6. * @memberOf _
  7. * @since 0.1.0
  8. * @alias toJSON, valueOf
  9. * @category Seq
  10. * @returns {*} Returns the resolved unwrapped value.
  11. * @example
  12. *
  13. * _([1, 2, 3]).value();
  14. * // => [1, 2, 3]
  15. */
  16. function wrapperValue() {
  17. return baseWrapperValue(this.__wrapped__, this.__actions__);
  18. }
  19. module.exports = wrapperValue;