Skip to content

assert_false

Checks that a condition is false when testing is enabled.

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

Syntax

assert_false(condition)
assert_false condition