#odd #integer #numeric #even

yanked isnt-even-or-odd

Returns true if the given number isn't even or odd

1.0.0 Mar 17, 2023
0.1.0 Mar 17, 2023

#8 in #even

MIT license

3KB

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.

Dependencies

~8KB