mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 08:07:50 +00:00
Bump to v4.0.0.
This commit is contained in:
20
wrapperValue.js
Normal file
20
wrapperValue.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import baseWrapperValue from './internal/baseWrapperValue';
|
||||
|
||||
/**
|
||||
* Executes the chained sequence to extract the unwrapped value.
|
||||
*
|
||||
* @name value
|
||||
* @memberOf _
|
||||
* @alias run, 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__);
|
||||
}
|
||||
|
||||
export default wrapperValue;
|
||||
Reference in New Issue
Block a user