monkey:monkey.debug.DebugAssert
Generates a runtime error if a boolean expression is false (debug builds only).
This function does not execute at all in release builds, so make sure that condition
doesn't inadvertantly execute
any critical code.
Parameters | |
---|---|
condition |
condition The boolean condition to check. |
message |
message Runtime error message to generate. |