Skip to content

asserttrue

Checks that a condition is true when testing is enabled.

See assert for the shared reference, testing option, accepted inputs and example.

Syntax

asserttrue(condition)
asserttrue condition