Iterator
Type parameters
T
objectRequiredTReturn
objectRequiredTNext
objectRequiredMethods
next
**next**(...args): [IteratorResult](/references/services/types/IteratorResult)<T, TReturn>
Parameters
args
[] | [TNext]RequiredReturns
IteratorResult<T, TReturn>
return
Optional **return**(value?): [IteratorResult](/references/services/types/IteratorResult)<T, TReturn>
Parameters
value
TReturnReturns
IteratorResult<T, TReturn>
throw
Optional **throw**(e?): [IteratorResult](/references/services/types/IteratorResult)<T, TReturn>
Parameters
e
anyReturns
IteratorResult<T, TReturn>
Was this section helpful?