is-even

Crates.iois-even
lib.rsis-even
version1.0.0
sourcesrc
created_at2019-05-12 14:32:03.651804
updated_at2019-05-12 14:32:03.651804
descriptionReturns true if the given number is odd.
homepage
repositoryhttps://github.com/baWedekind/is-even
max_upload_size
id133739
size5,798
(baWedekind)

documentation

README

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.

Commit count: 4

cargo fmt