Sha256: 0ee93fe22f56e112ae632c2c71390c8af20a3187d98d74c716db1e4707b64bf4
Contents?: true
Size: 658 Bytes
Versions: 153
Compression:
Stored size: 658 Bytes
Contents
var baseCreate = require('./baseCreate'), baseLodash = require('./baseLodash'); /** * The base constructor for creating `lodash` wrapper objects. * * @private * @param {*} value The value to wrap. * @param {boolean} [chainAll] Enable chaining for all wrapper methods. * @param {Array} [actions=[]] Actions to peform to resolve the unwrapped value. */ function LodashWrapper(value, chainAll, actions) { this.__wrapped__ = value; this.__actions__ = actions || []; this.__chain__ = !!chainAll; } LodashWrapper.prototype = baseCreate(baseLodash.prototype); LodashWrapper.prototype.constructor = LodashWrapper; module.exports = LodashWrapper;
Version data entries
153 entries across 80 versions & 8 rubygems