• Yields the pairwise symmetric difference of two sorted sets.

    Type Parameters

    • T
    • B

    Parameters

    • source: Iterable<B, any, any>

      Source sorted set

    • target: Iterable<B, any, any>

      Target sorted set

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

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

        • (a, b): number
        • Parameters

          Returns number

    Returns Generator<ExclusiveDiff<B>>

  • Type Parameters

    • T
    • B

    Parameters

    • source: Iterable<B, any, any>
    • target: Iterable<B, any, any>
    • comparator: ((a, b) => number)
        • (a, b): number
        • Parameters

          Returns number

    • differ: ((a, b) => boolean)
        • (a, b): boolean
        • Parameters

          Returns boolean

    Returns Generator<ExclusiveDiff<B>>