isnt-even-or-odd

Crates.ioisnt-even-or-odd
lib.rsisnt-even-or-odd
version1.0.0
sourcesrc
created_at2023-03-17 17:50:58.560663
updated_at2023-03-17 17:52:39.652492
descriptionReturns true if the given number isn't even or odd.
homepage
repositoryhttps://github.com/dsgallups/isnt-even-or-odd
max_upload_size
id812895
size3,476
Daniel Gallups (dsgallups)

documentation

README

isnt-even-or-odd

Returns false if the given number is even or odd.

Install

Specify the dependencty in Cargo.toml:

[dependencies]
isnt-even-or-odd = "1"

Fetch it with cargo:

cargo build

Usage

use isnt_even_or_odd::IsntEvenOrOdd;

let _i : i32 = 1;
println!("{}", _i.isnt_even_or_odd()); // prints true

About

License

Copyright © 2018, dsgallups. Released under the MIT License.

Commit count: 9

cargo fmt