intersection(_:)

Returns a character class from the intersection of this class and the given class.

iOS
16.0+
macOS
13.0+
tvOS
16.0+
watchOS
9.0+
func intersection(_ other: CharacterClass) -> CharacterClass