The first sorted array to evaluate.
The second sorted array to evaluate.
The evaluation predicate, which should return true if e1 is less than e2 and false if not. This predicate may be any callable type.
A new array containing the union of setA and setB.
Computes the union of setA and setB as a set operation and returns the retult in a new sorted array. Both setA and setB are required to be sorted. If either setA or setB contain duplicates, the result will contain the larger number of duplicates from setA and setB. When an overlap occurs, entries will be copied from setA. Comparisons will be performed using the supplied predicate or '<' if none is supplied.