Function consume

  • Iterates the iterable until exhausting it.

    Type Parameters

    • Iter extends AnyIt<unknown>

    Parameters

    Returns CondIt<Iter, void, Promise<void>>

    Example

    it.consume([1, 2, 3])