@lang:zip
Combine two arrays element-wise into an array of pairs.
Returns: array
Syntax
Section titled “Syntax”@lang:zip(a b)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
a | array | First array to zip |
b | array | Second array |
See Also
Section titled “See Also”- @unzip — split pairs into two arrays
- @enumerate — pair elements with indices