Instance Method

isSuperset(of:)

Returns a Boolean value that indicates whether the receiver is a superset of another given character set.

Declaration

func isSuperset(of theOtherSet: CharacterSet) -> Bool

Parameters

theOtherSet

A character set.

Return Value

true if the receiver is a superset of theOtherSet, otherwise false.

See Also

Testing Set Membership

func characterIsMember(unichar) -> Bool

Returns a Boolean value that indicates whether a given character is in the receiver.

func hasMemberInPlane(UInt8) -> Bool

Returns a Boolean value that indicates whether the receiver has at least one member in a given character plane.

func longCharacterIsMember(UTF32Char) -> Bool

Returns a Boolean value that indicates whether a given long character is a member of the receiver.