Interface Iterator<T, TReturn, TNext>
Type Parameters
-
T
-
TReturn = any
-
TNext = undefined
Methods
next
- next(...args: [] | [TNext]): IteratorResult<T, TReturn>
-
Parameters
-
Rest
...args: [] | [TNext]
Optional
return
- return(value?: TReturn): IteratorResult<T, TReturn>
-
Optional
throw
- throw(e?: any): IteratorResult<T, TReturn>
-