Crates.io | isnt-even-or-odd |
lib.rs | isnt-even-or-odd |
version | 1.0.0 |
source | src |
created_at | 2023-03-17 17:50:58.560663 |
updated_at | 2023-03-17 17:52:39.652492 |
description | Returns true if the given number isn't even or odd. |
homepage | |
repository | https://github.com/dsgallups/isnt-even-or-odd |
max_upload_size | |
id | 812895 |
size | 3,476 |
Returns false if the given number is even or odd.
Specify the dependencty in Cargo.toml:
[dependencies]
isnt-even-or-odd = "1"
Fetch it with cargo:
cargo build
use isnt_even_or_odd::IsntEvenOrOdd;
let _i : i32 = 1;
println!("{}", _i.isnt_even_or_odd()); // prints true
Copyright © 2018, dsgallups. Released under the MIT License.