union()
Creates a new array which will contain all of the items of the two given arrays. Different from concatenation because the number of times a value occurs will never exceed the maximum number of times it was found in one of the arrays.
This function is valid in v2.1.0 to v2.16.0. This function has been downloaded 8 times.array1
and array2
but limiting the occurrences to never exceeding the maximum number of times the value occurred in either array.This function requires the following function which is included automatically:
diffArrays()