Returns a Boolean value indicating whether two ranges are equal.
- Xcode 8.0+
- Swift Standard Library
A range to compare.
Another range to compare.
Two ranges are equal when they have the same lower and upper bounds. That requirement holds even for empty ranges.