canonical
Version:
Canonical code style linter and formatter for JavaScript, SCSS, CSS and JSON.
21 lines (18 loc) • 441 B
JavaScript
var baseWrapperValue = require('./_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__);
}
module.exports = wrapperValue;