Skip to main content
Version: 1.0.0

getAssertEnabled

getAssertEnabled* : boolean

ParameterTypeDescription
resultbooleantrue = 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.

See also

.assert
setAssertEnabled