union
-
function
-
new in 1.62
-
Returns the union of two lists, which is a new list containing the values that are found in either or both lists.
-
Examples: +
put the union of [a,b,c,d] and [d,f,b,g] —> [a,b,c,d,f,g]
put union([1,2,3,4,5], [0,2,4,6,8]) —> [1,2,3,4,5,0,6,8]
-
Related: excludeItems, intersection, uniqueItems