1 var baseCreate = require('./_baseCreate'),
2 baseLodash = require('./_baseLodash');
5 * The base constructor for creating `lodash` wrapper objects.
8 * @param {*} value The value to wrap.
9 * @param {boolean} [chainAll] Enable chaining for all wrapper methods.
11 function LodashWrapper(value, chainAll) {
12 this.__wrapped__ = value;
13 this.__actions__ = [];
14 this.__chain__ = !!chainAll;
16 this.__values__ = undefined;
19 LodashWrapper.prototype = baseCreate(baseLodash.prototype);
20 LodashWrapper.prototype.constructor = LodashWrapper;
22 module.exports = LodashWrapper;