---
title: CFBoolean
framework: corefoundation
role: symbol
role_heading: Class
path: corefoundation/cfboolean
---

# CFBoolean

## Declaration

```swift
class CFBoolean
```

## Overview

Overview CFBoolean objects are used to wrap boolean values for use in Core Foundation property lists and collection types.

## Topics

### CFBoolean Miscellaneous Functions

- [CFBooleanGetTypeID()](corefoundation/cfbooleangettypeid().md)
- [CFBooleanGetValue(_:)](corefoundation/cfbooleangetvalue(_:).md)

### Constants

- [Boolean Values](corefoundation/boolean-values.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)

## See Also

### Related Documentation

- [Property List Programming Topics for Core Foundation](apple-archive/documentation/CoreFoundation/Conceptual/CFPropertyLists.md)

### Opaque Types

- [CFAllocator](corefoundation/cfallocator.md)
- [CFArray](corefoundation/cfarray.md)
- [CFAttributedString](corefoundation/cfattributedstring.md)
- [CFBag](corefoundation/cfbag.md)
- [CFBinaryHeap](corefoundation/cfbinaryheap.md)
- [CFBitVector](corefoundation/cfbitvector.md)
- [CFBundle](corefoundation/cfbundle.md)
- [CFCalendar](corefoundation/cfcalendar.md)
- [CFCharacterSet](corefoundation/cfcharacterset.md)
- [CFData](corefoundation/cfdata.md)
- [CFDate](corefoundation/cfdate.md)
- [CFDateFormatter](corefoundation/cfdateformatter.md)
- [CFDictionary](corefoundation/cfdictionary.md)
- [CFError](corefoundation/cferror.md)
- [CFFileDescriptor](corefoundation/cffiledescriptor.md)
