mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
441 B
21 lines
441 B
9 years ago
|
var baseWrapperValue = require('./_baseWrapperValue');
|
||
10 years ago
|
|
||
|
/**
|
||
|
* Executes the chained sequence to extract the unwrapped value.
|
||
|
*
|
||
|
* @name value
|
||
|
* @memberOf _
|
||
9 years ago
|
* @alias toJSON, valueOf
|
||
|
* @category Seq
|
||
10 years ago
|
* @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;
|