• Yields the difference of two sorted sets.

    Type Parameters

    • T
    • B

    Parameters

    • minuend: Iterable<B, any, any>

      Set from which to remove elements

    • subtrahend: Iterable<T, any, any>

      Set of elements to be removed

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

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

        • (a, b): number
        • Parameters

          Returns number

    Returns Generator<B>