assert_isfalse
Historical name for asserts.isfalse.
📝Syntax
assert_isfalse(condition)
assert_isfalse(condition, message)
[res, msg] = assert_isfalse(condition)
[res, msg] = assert_isfalse(condition, message)
📥Input Arguments
Parameter Description
condition Logical scalar or array to test. Every entry must be false.
message Optional custom failure message.
📤Output Arguments
Parameter Description
res true if the assertion passes, false otherwise.
msg Assertion failure message, empty on success.
📄Description

assert_isfalse is kept for compatibility.

For complete documentation, use asserts.isfalse.

💡Examples
Historical call
assert_isfalse(3 == 4);
Canonical call
asserts.isfalse(false);
🔗See Also
asserts.isfalseassert
🕔Version History
Version Description
1.0.0 initial version
2.0.0 documented as historical name for asserts.isfalse
Edit this page on GitHub