Instance Methodswift 6.1.2Swift

formUnion(_:)

Adds the contents of the given range set to this range set.

iOS
18.0+
macOS
15.0+
tvOS
18.0+
visionOS
2.0+
watchOS
11.0+
mutating func formUnion(_ other: RangeSet<Bound>)

Parameters

other

A range set to merge with this one.