fx-flow v0.7.0 / types / UniversalIterableItem
Type alias: UniversalIterableItem<T>
UniversalIterableItem<
T
>:T
extendsIterable
<infer U> ?U
:T
extendsAsyncIterable
<infer U> ?Awaited
<U
> :never
Item of Iterable or AsyncIterable
Type parameters
• T extends Iterable
<unknown
> | AsyncIterable
<unknown
>