xdash API Reference / difference
Function: difference()
difference<
T
>(...values
):T
[]
Defined in: src/array.ts:135
Creates an array of unique values that are included in the first given array, but not in the remaining arrays using SameValueZero for equality comparisons.
Type Parameters
T
T
Parameters
values
...T
[][]
arrays to exclude
Returns
T
[]
the excluded array