mirror of
https://github.com/thangisme/notes.git
synced 2024-11-01 01:27:31 -04:00
22 lines
455 B
JavaScript
22 lines
455 B
JavaScript
|
var baseWrapperValue = require('./_baseWrapperValue');
|
||
|
|
||
|
/**
|
||
|
* Executes the chain sequence to resolve the unwrapped value.
|
||
|
*
|
||
|
* @name value
|
||
|
* @memberOf _
|
||
|
* @since 0.1.0
|
||
|
* @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;
|