Description
Returns an array of two-element sub-arrays, each pairing the element at the same index from two source arrays. If the arrays are of unequal length, pairing stops at the end of the shorter array. Useful for associating parallel data sets such as player arrays with score arrays, or key-value pair structures.
Snippet
Array Zip(All Players(All Teams), Global.ScoreArray);
Properties
Returns: Array
Parameters: Array A, Array B
Array A
Type: Array, Default: Empty Array
The first array to pair from.Array B
Type: Array, Default: Empty Array
The second array to pair from. Each element is matched with the element at the same index in Array A.