1 stable release
Uses old Rust 2015
1.0.0 | May 26, 2018 |
---|
#2416 in Rust patterns
221 downloads per month
Used in 5 crates
(3 directly)
3KB
is-odd
Returns true if the given number is odd.
Install
Specify the dependencty in Cargo.toml:
[dependencies]
is-odd = "~1.0.0"
Fetch it with cargo:
$ cargo build
Usage
extern crate is_odd;
use is_odd::IsOdd;
let _i : i32 = 1;
println!("{}", _i.is_odd()); // prints false
About
License
Copyright © 2018, nukeop. Released under the MIT License.