yta
    Preparing search index...

    Function chain

    • Take any number of iterators and run them in a single series, one after the other.

      import { chain, range } from "yta/sync";

      [...chain(range(0, 3), range(3, 6))];
      // => [0, 1, 2, 3, 4, 5]

      See also:

      Type Parameters

      • A

      Parameters

      • ...items: Iterable<A, any, any>[]

      Returns Generator<A, void, any>