intervalIntersection

intervalIntersection(interval interval1, interval interval2) → interval intersection

Computes the intersection of two intervals interval1 and interval2, which contains the elements common to both.

Parameters
Return