intersect

Return

a range representing the intersection of this one with other. The result may be an empty range if there is no overlap

Parameters

other

range to test with