Returns true if the given number is even or odd.
Specify the dependencty in Cargo.toml:
[dependencies]
is-even-or-odd = "1"
Fetch it with cargo:
$ cargo build
use is_even_or_odd::IsEvenOrOdd;
let _i : i32 = 1;
println!("{}", _i.is_even_or_odd()); // prints true
Copyright © 2018, purewhite. Released under the MIT License.