Function intersection

  • Returns the intersection of multiple arrays.

    Parameters

    • input: unknown[][]

      An array of arrays from which to find intersection.

    • hashFunction: HashFunction = DEFAULT_HASH_FUNCTION

      Custom function to hash values, default the hashCode method

    Returns Any[]

    Array of intersecting values.