Function computeArrayIntersection

  • Compute array where each element is part of each input array

    Note: The order of the resulting array is undefined.

    Type Parameters

    Type Parameters

    • 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>[]

Generated using TypeDoc