Returns true if the given number is even.
Specify the dependencty in Cargo.toml:
[dependencies]
is-even = "~1.0.0"
Fetch it with cargo:
$ cargo build
extern crate is_even;
use is_even::IsEven;
let _i : i32 = 1;
println!("{}", _i.is_even()); // prints false
Copyright © 2019, baWedekind. Released under the MIT License.