1 stable release
1.0.0 | May 12, 2019 |
---|
#1428 in Math
979 downloads per month
Used in 3 crates
(via is-even-or-odd)
3KB
is-even
Returns true if the given number is even.
Install
Specify the dependencty in Cargo.toml:
[dependencies]
is-even = "~1.0.0"
Fetch it with cargo:
$ cargo build
Usage
extern crate is_even;
use is_even::IsEven;
let _i : i32 = 1;
println!("{}", _i.is_even()); // prints false
About
License
Copyright © 2019, baWedekind. Released under the MIT License.
Dependencies
~3KB