fx-flow v0.7.0 / pipe/lazy / Iterator
Interface: Iterator<T, TReturn, TNext>
Extended by
Type parameters
• T
• TReturn = any
• TNext = undefined
Methods
next()
next(...
args
):IteratorResult
<T
,TReturn
>
Parameters
• ...args: [] | [TNext
]
Returns
IteratorResult
<T
, TReturn
>
Source
node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.iterable.d.ts:43
return()?
optional
return(value
?):IteratorResult
<T
,TReturn
>
Parameters
• value?: TReturn
Returns
IteratorResult
<T
, TReturn
>
Source
node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.iterable.d.ts:44
throw()?
optional
throw(e
?):IteratorResult
<T
,TReturn
>
Parameters
• e?: any
Returns
IteratorResult
<T
, TReturn
>
Source
node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.iterable.d.ts:45