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