---
title: "CFCharacterSetIsCharacterMember(_:_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfcharactersetischaractermember(_:_:)"
---

# CFCharacterSetIsCharacterMember(_:_:)

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

## Declaration

```swift
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

Return Value true if theSet contains theChar, otherwise false.

## See Also

### Querying Character Sets

- [CFCharacterSetCreateBitmapRepresentation(_:_:)](corefoundation/cfcharactersetcreatebitmaprepresentation(_:_:).md)
- [CFCharacterSetHasMemberInPlane(_:_:)](corefoundation/cfcharactersethasmemberinplane(_:_:).md)
- [CFCharacterSetIsLongCharacterMember(_:_:)](corefoundation/cfcharactersetislongcharactermember(_:_:).md)
- [CFCharacterSetIsSupersetOfSet(_:_:)](corefoundation/cfcharactersetissupersetofset(_:_:).md)
