Skip to content

assert_true

Checks that a condition is true when testing is enabled.

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

Syntax

assert_true(condition)
assert_true condition