---
title: "CFCharacterSetInvert(_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfcharactersetinvert(_:)"
---

# CFCharacterSetInvert(_:)

Inverts the content of a given character set.

## Declaration

```swift
func CFCharacterSetInvert(_ theSet: CFMutableCharacterSet!)
```

## Parameters

- `theSet`: The character set to invert.

## See Also

### Logical Operations

- [CFCharacterSetIntersect(_:_:)](corefoundation/cfcharactersetintersect(_:_:).md)
- [CFCharacterSetUnion(_:_:)](corefoundation/cfcharactersetunion(_:_:).md)
