calcUnion

Implementation of the union operation for arrays.

T
calcUnion
(
T
)
(
const T[] arrays...
)

Examples

int[] arr = calcUnion([3, 4, 1, -15], [9, 3, 1], [1, 99, 3]);
assert(arr == [-15, 1, 3, 4, 9, 99]);

Meta