Function pairwiseTraversal
- pairwiseTraversal<A, B>(iterableA, iterableB, comparator): Generator<[...PairwiseElement<A, B>, ...PairwiseDone]>
Parameters
- iterableA: Iterable<A, any, any>
- iterableB: Iterable<B, any, any>
- comparator: ((a, b) => number)
- (a, b): number
Returns number
Yields pairwise traversal of two sorted arrays.