- Preparing search index...
- The search index is not available
@jsq/seq
Function iteratorFromIterable
- iteratorFromIterable<T>(iterable: Iterable<T> | AsyncIterable<T>): Iterator<T> | AsyncIterator<T>
-
Parameters
-
iterable: Iterable<T> | AsyncIterable<T>
Returns Iterator<T> | AsyncIterator<T>
Extracts the underlying synchronous or asynchronous iterator from a synchronous or asynchronous iterable, respectively.
If the provided value adheres to both the Iterable and AsyncIterable protocols, its asynchronous interface will be used.