union(_:)
Returns a new range set containing the contents of both this set and the given set.
Declaration
func union(_ other: RangeSet<Bound>) -> RangeSet<Bound>Parameters
- other:
The range set to merge with this one.
Return Value
A new range set.
Returns a new range set containing the contents of both this set and the given set.
func union(_ other: RangeSet<Bound>) -> RangeSet<Bound>The range set to merge with this one.
A new range set.