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