iter-fns - v0.13.0
    Preparing search index...

    Function zipLongest

    • Convolves iterables together by iterating multiple iterables at the same time.

      Iteration will continue until all iterables are exhausted, yielding undefined for exhausted iterables.

      Type Parameters

      • Ts extends unknown[]

        types of the items

      Parameters

      Returns ReverseSizedIterable<{ [I in string | number | symbol]: undefined | Ts[I<I>] }>

    • Convolves iterables together by iterating multiple iterables at the same time.

      Iteration will continue until all iterables are exhausted, yielding undefined for exhausted iterables.

      Type Parameters

      • Ts extends unknown[]

        types of the items

      Parameters

      • ...iterables: { [I in string | number | symbol]: SizedIterable<Ts[I<I>]> }

        the iterables

      Returns SizedIterable<{ [I in string | number | symbol]: undefined | Ts[I<I>] }>

    • Convolves iterables together by iterating multiple iterables at the same time.

      Iteration will continue until all iterables are exhausted, yielding undefined for exhausted iterables.

      Type Parameters

      • Ts extends unknown[]

        types of the items

      Parameters

      • ...iterables: { [I in string | number | symbol]: Iterable<Ts[I<I>]> }

        the iterables

      Returns Iterable<{ [I in string | number | symbol]: undefined | Ts[I<I>] }>