Files
lodash/wrapperValue.js
John-David Dalton 7af5d55f22 Bump to v4.0.1.
2016-01-24 19:18:05 -08:00

21 lines
444 B
JavaScript

import baseWrapperValue from './internal/baseWrapperValue';
/**
* Executes the chained sequence to extract the unwrapped value.
*
* @name value
* @memberOf _
* @alias toJSON, valueOf
* @category Seq
* @returns {*} Returns the resolved unwrapped value.
* @example
*
* _([1, 2, 3]).value();
* // => [1, 2, 3]
*/
function wrapperValue() {
return baseWrapperValue(this.__wrapped__, this.__actions__);
}
export default wrapperValue;