• Yields pairwise traversal of two sorted arrays.

    Type Parameters

    • A
    • B

    Parameters

    • iterableA: Iterable<A, any, any>

      First sorted array

    • iterableB: Iterable<B, any, any>

      Second sorted array

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

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

        • (a, b): number
        • Parameters

          Returns number

    Returns Generator<[...PairwiseElement<A, B>, ...PairwiseDone]>