Combines multiple iterables into a generator of tuples containing values at corresponding positions. Stops when any of the input iterables is exhausted.
Array of iterable types
Input iterables to zip together
Tuple containing values from each iterable at the current position
G.pipe( G.zip([1, 2, 3], ['a', 'b', 'c']), G.array) // [[1, 'a'], [2, 'b'], [3, 'c']]// With different length iterables, stops at shortestG.pipe( G.zip([1, 2], ['a', 'b', 'c']), G.array) // [[1, 'a'], [2, 'b']] Copy
G.pipe( G.zip([1, 2, 3], ['a', 'b', 'c']), G.array) // [[1, 'a'], [2, 'b'], [3, 'c']]// With different length iterables, stops at shortestG.pipe( G.zip([1, 2], ['a', 'b', 'c']), G.array) // [[1, 'a'], [2, 'b']]
Combines multiple iterables into a generator of tuples containing values at corresponding positions. Stops when any of the input iterables is exhausted.