2016-01-28 01:16:24 -08:00
|
|
|
define(['./_baseWrapperValue'], function(baseWrapperValue) {
|
2015-01-08 00:37:01 -08:00
|
|
|
|
|
|
|
|
/**
|
2016-03-26 00:00:01 -07:00
|
|
|
* Executes the chain sequence to resolve the unwrapped value.
|
2015-01-08 00:37:01 -08:00
|
|
|
*
|
|
|
|
|
* @name value
|
|
|
|
|
* @memberOf _
|
2016-03-26 00:00:01 -07:00
|
|
|
* @since 0.1.0
|
2016-01-24 18:06:10 -08:00
|
|
|
* @alias toJSON, valueOf
|
2015-12-16 17:53:20 -08:00
|
|
|
* @category Seq
|
2015-01-08 00:37:01 -08:00
|
|
|
* @returns {*} Returns the resolved unwrapped value.
|
|
|
|
|
* @example
|
|
|
|
|
*
|
|
|
|
|
* _([1, 2, 3]).value();
|
|
|
|
|
* // => [1, 2, 3]
|
|
|
|
|
*/
|
|
|
|
|
function wrapperValue() {
|
|
|
|
|
return baseWrapperValue(this.__wrapped__, this.__actions__);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return wrapperValue;
|
|
|
|
|
});
|