$zip
The `$zip` operator transposes an array of input arrays so that the first element of the output array contains an array of the first elements of the input arrays, the second element contains an array of the second elements, and so on.
Syntax
{
$zip: {
inputs: [ <array1>, <array2>, ... ],
useLongestLength: <boolean>,
defaults: <array>
}
}
Parameters
inputs
stringrequiredAn array of expressions that resolve to arrays.
useLongestLength
stringA boolean which specifies whether the length of the longest array determines the number of output array elements.
defaults
stringAn array of default values used if inputs contains arrays of different lengths.