summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/cli-table2/node_modules/lodash/chain/wrapperValue.js
blob: 2734e41c4a92904e00c2de6c59032318f26f223e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
var baseWrapperValue = require('../internal/baseWrapperValue');

/**
 * Executes the chained sequence to extract the unwrapped value.
 *
 * @name value
 * @memberOf _
 * @alias run, toJSON, valueOf
 * @category Chain
 * @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;