- Preparing search index...
- The search index is not available
Documentation
Function computeArrayIntersection
- computeArrayIntersection<T>(input: readonly T[][], equal?: ((lhs: Readonly<T>, rhs: Readonly<T>) => boolean)): Readonly<T>[]
-
Parameters
-
input: readonly T[][]
-
equal: ((lhs: Readonly<T>, rhs: Readonly<T>) => boolean) = isEqual
-
- (lhs: Readonly<T>, rhs: Readonly<T>): boolean
-
Parameters
-
lhs: Readonly<T>
-
rhs: Readonly<T>
Returns boolean
Returns Readonly<T>[]
Compute array where each element is part of each input array
Note: The order of the resulting array is undefined.