Welshman Docs / @welshman/lib / difference
Function: difference() ​
difference<
T
>(a
,b
):T
[]
Defined in: packages/lib/src/Tools.ts:395
Returns elements in first array not present in second
Type Parameters ​
• T
Parameters ​
a ​
T
[]
Source array
b ​
T
[]
Array of elements to exclude
Returns ​
T
[]
Array containing elements unique to first array