calcComplement

Implementation of the complement operation for arrays.

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

Examples

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

Meta