CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes48downloads
_lazyClone.js24 linesDownload Raw Back to lodash
1var LazyWrapper = require('./_LazyWrapper'),2    copyArray = require('./_copyArray');3 4/**5 * Creates a clone of the lazy wrapper object.6 *7 * @private8 * @name clone9 * @memberOf LazyWrapper10 * @returns {Object} Returns the cloned `LazyWrapper` object.11 */12function lazyClone() {13  var result = new LazyWrapper(this.__wrapped__);14  result.__actions__ = copyArray(this.__actions__);15  result.__dir__ = this.__dir__;16  result.__filtered__ = this.__filtered__;17  result.__iteratees__ = copyArray(this.__iteratees__);18  result.__takeCount__ = this.__takeCount__;19  result.__views__ = copyArray(this.__views__);20  return result;21}22 23module.exports = lazyClone;24 
basant307/AI_Governance_Project · CoolFace