is_false

Crates.iois_false
lib.rsis_false
version0.1.0
sourcesrc
created_at2021-03-24 09:18:35.505845
updated_at2021-03-24 09:18:35.505845
descriptionIs it false?
homepage
repositoryhttps://github.com/PatriotRossii/is_false/
max_upload_size
id372865
size4,158
Danil Sidoruk (eoan-ermine)

documentation

https://docs.rs/is_false/

README

This crate entroduces is_false! macro and is_false() function which checks if argument is false

[dependencies] 
is_false = "0.1"

Usage

use is_false::is_false;

fn main() {
    assert_eq!(is_false!(4 % 2 == 0, 5 % 2 == 0), false);        
    assert_eq!(is_false!(5 % 2 == 0, 1 == 2), true);
}
use is_false::is_false;

fn main() {
    assert_eq!(is_false(5 % 2 == 0), true);
}
Commit count: 2

cargo fmt