xdash API Reference / intersection
Function: intersection()
intersection<
T
>(...arrs
):T
[]
Defined in: src/array.ts:113
Creates an array of unique values that are included in all given arrays using SameValueZero for equality comparisons.
Type Parameters
T
T
Parameters
arrs
...T
[][]
arrays to intersect
Returns
T
[]
the intersected array