isnt-even-nor-odd

Crates.ioisnt-even-nor-odd
lib.rsisnt-even-nor-odd
version1.0.1
sourcesrc
created_at2023-03-17 18:01:02.295683
updated_at2023-03-17 18:25:46.404018
descriptionReturns true if the given number isn't even or odd.
homepage
repositoryhttps://github.com/dsgallups/isnt-even-nor-odd
max_upload_size
id812903
size3,663
Daniel Gallups (dsgallups)

documentation

README

isnt-even-nor-odd

Returns true if the given number isn't even nor odd.

Install

Specify the dependency in Cargo.toml:

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

Fetch it with cargo:

cargo build

Usage

use isnt_even_nor_odd::IsntEvenNorOdd;

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

About

License

Credit to purewhite because i just copy pasted all of this and reversed his dependency. the logic was too hard to understand for me so thakns for the boilerplate

Released under the MIT License.

Commit count: 11

cargo fmt