ichigyou
    Preparing search index...

    Function intersection

    • Returns the intersection of two arrays or null if there is no intersection.

      Type Parameters

      • T

      Parameters

      • arr1: T[]

        The first array.

      • arr2: T[]

        The second array.

      Returns T[] | null

      An array that contains the intersection of arr1 and arr2, or null if there is no intersection.