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.
Rest
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.} Copy
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.}
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.