---
title: kOSBooleanTrue
framework: driverkit
role: symbol
role_heading: Global Variable
path: driverkit/kosbooleantrue
---

# kOSBooleanTrue

The OSBoolean constant for true .

## Declaration

```occ
extern OSBooleanPtr kOSBooleanTrue;
```

## Discussion

Discussion kOSBooleanTrue is the OSBoolean constant for true . This object does not need to be retained or released (but it can be). Comparisons should be of the form booleanObject == kOSBooleanTrue

## See Also

### Getting Boolean Values

- [kOSBooleanFalse](driverkit/kosbooleanfalse.md)
