• Yields the intersection of two sorted sets.

    Type Parameters

    • T
    • A

    Parameters

    • source: Iterable<A, any, any>

      Set from which matched element will be yielded

    • target: Iterable<T, any, any>

      Set of elements to check for matches

    • comparator: ((a, b) => number)

      Used to compare two set elements, same as Array.sort parameter

        • (a, b): number
        • Parameters

          Returns number

    Returns Generator<A>