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