getAssertEnabled
getAssertEnabled : boolean
| Parameter | Type | Description | |
|---|---|---|---|
| result | boolean | ← | true = assertions are enabled, false = assertions are disabled |
Description
The getAssertEnabled command returns true or false according to whether or not assertions are enabled in the current process.
For more information about assertions, please refer to the description of the assert command.
By default, assertions are enabled but they may have been disabled using the setAssertEnabled command.