<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/CFCharacterSetIsSupersetOfSet(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@F@CFCharacterSetIsSupersetOfSet"
  },
  "title" : "CFCharacterSetIsSupersetOfSet(_:_:)"
}
-->

# CFCharacterSetIsSupersetOfSet(_:_:)

Reports whether or not a character set is a superset of another set.

```
func CFCharacterSetIsSupersetOfSet(_ theSet: CFCharacterSet!, _ theOtherset: CFCharacterSet!) -> Bool
```

## Parameters

`theSet`

The character set to be checked for the membership of `theOtherSet`.

`theOtherset`

The character set to be checked whether or not it is a subset of `theSet`.

## Return Value

`true` if `theSet` is a superset of `theOtherSet`, otherwise `false`.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)