Zip

Takes two lists of equal length and combines them into a list of lists of each corresponding pair. For instance, if you zipped together [1,2,3] and ["a","b","c"] you'd get a new list: [[1,"a"],[2,"b"],[3,"c"]]. The input lists can be lists of any type.

Input Fields

list1: The first list

list2: The second list

Output Fields

list: The combination of list1 and list2 as described above.

See Also

About lists

Functions

About the elements of Okta Workflows