intersection

Intersect range with this range and returns a new range or undefined if the ranges have no overlap.

Parameters

range

A range.