This crate entroduces is_false!
macro and is_false()
function which checks if argument is false
toml
[dependencies]
is_false = "0.1"
```rust use isfalse::isfalse;
fn main() {
asserteq!(isfalse!(4 % 2 == 0, 5 % 2 == 0), false);
asserteq!(isfalse!(5 % 2 == 0, 1 == 2), true);
}
```
```rust use isfalse::isfalse;
fn main() { asserteq!(isfalse(5 % 2 == 0), true); } ```