Returns the union of the specified ranges.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
A range covering all indices in and between
range2. If one range is completely contained in the other, the returned range is equal to the larger range.