Contents

CFCharacterSetIsCharacterMember(_:_:)

Reports whether or not a given Unicode character is in a character set.

Declaration

func CFCharacterSetIsCharacterMember(_ theSet: CFCharacterSet!, _ theChar: UniChar) -> Bool

Parameters

  • theSet:

    The character set to examine.

  • theChar:

    The Unicode character for which to test against the character set. Note that this function takes 16-bit Unicode character value; hence, it does not support access to the non-BMP planes.

Return Value

true if theSet contains theChar, otherwise false.

See Also

Querying Character Sets