Function itr8FromIterable

  • 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

    pipe(
    itr8FromIterable([1,2,3]),
    map((x) => x + 100),
    )

    Type Parameters

    • T

    Parameters

    • it: Iterable<T> | AsyncIterable<T>

    Returns IterableIterator<T> | AsyncIterableIterator<T>

Generated using TypeDoc