diff options
Diffstat (limited to 'alarm/node_modules/lodash/_lazyReverse.js')
-rw-r--r-- | alarm/node_modules/lodash/_lazyReverse.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/alarm/node_modules/lodash/_lazyReverse.js b/alarm/node_modules/lodash/_lazyReverse.js deleted file mode 100644 index c5b5219..0000000 --- a/alarm/node_modules/lodash/_lazyReverse.js +++ /dev/null @@ -1,23 +0,0 @@ -var LazyWrapper = require('./_LazyWrapper'); - -/** - * Reverses the direction of lazy iteration. - * - * @private - * @name reverse - * @memberOf LazyWrapper - * @returns {Object} Returns the new reversed `LazyWrapper` object. - */ -function lazyReverse() { - if (this.__filtered__) { - var result = new LazyWrapper(this); - result.__dir__ = -1; - result.__filtered__ = true; - } else { - result = this.clone(); - result.__dir__ *= -1; - } - return result; -} - -module.exports = lazyReverse; |