Contents

withBoolean

Returns one of the global instances of OSBoolean.

Declaration

static OSBoolean * withBoolean(
 boolvalue);

Parameters

  • value:

    A boolean value.

Return Value

The global instance of OSBoolean with the boolean value.

Overview

This function actually returns either kOSBooleanTrue or kOSBooleanFalse, so that you can always use pointer comparison with OSBoolean objects.

See Also

Miscellaneous