List.Zip
Syntax
List.Zip(lists as list) as list
About
Takes a list of lists, lists
, and returns a list of lists combining items at the same position.
Example 1
Zips the two simple lists {1, 2} and {3, 4}.
Usage
List.Zip({{1, 2}, {3, 4}})
Output
{
{1, 3},
{2, 4}
}
Example 2
Zips the two simple lists of different lengths {1, 2} and {3}.
Usage
List.Zip({{1, 2}, {3}})
Output
{
{1, 3},
{2, null}
}