Returns a copy of this range clamped to the given limiting range.
- Xcode 8.0+
- Swift Standard Library
The range to clamp the bounds of this range.
A new range clamped to the bounds of
The bounds of the result are always limited to the bounds of
limits. For example:
If the two ranges do not overlap, the result is a single-element range at the upper or lower bound of