1
0
mirror of https://github.com/actions/setup-node synced 2025-05-02 05:03:53 +00:00
setup-node/node_modules/lodash/_LodashWrapper.js
Danny McCormick c3f0a8be66 Use husky
2019-06-05 11:34:47 -04:00

23 lines
611 B
JavaScript

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 explicit method chain sequences.
*/
function LodashWrapper(value, chainAll) {
this.__wrapped__ = value;
this.__actions__ = [];
this.__chain__ = !!chainAll;
this.__index__ = 0;
this.__values__ = undefined;
}
LodashWrapper.prototype = baseCreate(baseLodash.prototype);
LodashWrapper.prototype.constructor = LodashWrapper;
module.exports = LodashWrapper;