• Returns a generator over the items of all the input args (iterables), starting from the zero index to the maximum index of the smallest arg.

    The effective length of the generator is the multiple of the length of the smallest arg and the number of args.

    Parameters

    • Rest ...its: Iterable<any>[]

    Returns Generator<any, void, unknown>

    Example

    import { zipFlat } from 'deleight/generators';
    for (let i of zipFlat(range(10), range(15))) {
    console.log(i); // (0, 0, 1, 1, 2, 2, .... till range(10) is exhausted.
    }