Contents

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.