Constructors
constructor
- new SliceIterator(source: Iterator<any, any, undefined>, start: number, end?: number): SliceIterator
-
Parameters
-
source: Iterator<any, any, undefined>
-
start: number
-
Default value end: number = Infinity
Methods
next
- next(): IteratorReturnResult<any> | IteratorYieldResult<any> | { done: boolean }
-
Returns IteratorReturnResult<any> | IteratorYieldResult<any> | { done: boolean }