- Preparing search index...
- The search index is not available
itr8
Function itr8FromIterable
- itr8FromIterable<T>(it: Iterable<T> | AsyncIterable<T>): IterableIterator<T> | AsyncIterableIterator<T>
-
Parameters
-
it: Iterable<T> | AsyncIterable<T>
Returns IterableIterator<T> | AsyncIterableIterator<T>
Gets a wrapped instance of the iterator OR the async iterator from any iterable (including arrays) so that we can easily pipe it into the operators.
Example