Instance Method

formUnion(with:)

Modifies the receiver so it contains all characters that exist in either the receiver or another set.

Declaration

func formUnion(with otherSet: CharacterSet)

See Also

Combining Character Sets

func formIntersection(with: CharacterSet)

Modifies the receiver so it contains only characters that exist in both the receiver and another set.