vlocode-project - v1.40.0-beta-4
    Preparing search index...

    Function intersect

    • Intersect the elements of two arrays, returns a new array with only the elements present in both arrays.

      Type Parameters

      • T

      Parameters

      • source: readonly T[]

        source array

      • target: readonly T[]

        Target array

      Returns T[]