* Creates a clone of the lazy wrapper object. * * @private * @name clone * @memberOf LazyWrapper * @returns {Object} Returns the cloned `LazyWrapper` object.
()
| 2592 | * @returns {Object} Returns the cloned `LazyWrapper` object. |
| 2593 | */ |
| 2594 | function lazyClone() { |
| 2595 | var actions = this.__actions__, |
| 2596 | iteratees = this.__iteratees__, |
| 2597 | views = this.__views__, |
| 2598 | result = new LazyWrapper(this.__wrapped__); |
| 2599 | |
| 2600 | result.__actions__ = actions ? arrayCopy(actions) : null; |
| 2601 | result.__dir__ = this.__dir__; |
| 2602 | result.__filtered__ = this.__filtered__; |
| 2603 | result.__iteratees__ = iteratees ? arrayCopy(iteratees) : null; |
| 2604 | result.__takeCount__ = this.__takeCount__; |
| 2605 | result.__views__ = views ? arrayCopy(views) : null; |
| 2606 | return result; |
| 2607 | } |
| 2608 | |
| 2609 | /** |
| 2610 | * Reverses the direction of lazy iteration. |
nothing calls this directly
no test coverage detected