Skip to main content

getAssertEnabled

getAssertEnabled : boolean

ParameterTypeDescription
resultboolean<-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.

See also

.assert
setAssertEnabled