Adds all of the non-present elements of @b into @a. Essentially this function computes the union of @ and @b.
@a - the first array.
@b - the second array.
Scalar identity is used to determine scalar equivalence for this function. the identity algorithm compares references for object scalars and function scalars. The string representation is used to compare other scalars.
The array @a
@a = @("a", "b", "c", "x", "y", "z"); @b = @("c", "d", "e", "f"); addAll(@a, @b); println("@a is: " . @a);
@a is: @('a', 'b', 'c', 'x', 'y', 'z', 'd', 'e', 'f')