Zip a collection of arrays to create an array of tuples from matching indices.
the zipped array
the zipped array has the length of the shortest input array
zipArrays([1, 2, 3], ['a', 'b', 'c']) === [[1, 'a'], [2, 'b'], [3, 'c']]
zipArrays([1], ['a', 'b', 'c']) === [[1, 'a']]
Rest
Generated using TypeDoc
Zip a collection of arrays to create an array of tuples from matching indices.
Returns
the zipped array
Note
the zipped array has the length of the shortest input array
Example
Example