OSBoolean wraps a boolean value in a C++ object for use in Libkern collections.
- macOS 10.0+
OSBoolean represents a boolean
false value as a Libkern C++ object. There are only two instances of OSBoolean,
k. These are shared globally and returned by the instance-creation function withBoolean. Thus, you can use pointer comparison to test whether two OSBoolean objects are equal.