intervalCombine

intervalCombine(interval interval1, interval interval2) → interval combination

Combines two intervals interval1 and interval2.

Equivalent to their union if their intersection is not empty; otherwise, it also includes the set lying between the two.

Parameters
Return