xdash / difference
Function: difference()
difference<
T
>(arr
,values
):T
[]
Creates an array of unique values that are included in the first provided array, but not in the second.
Type parameters
• T
Parameters
• arr: T
[]
array to difference from
• values: T
[]
values to exclude
Returns
T
[]
the differenced array