Instance Methodswift 6.0.3Swift

formIntersection(_:)

Removes the contents of this range set that aren’t also in the given range set.

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

Parameters

other

A range set to intersect with.