Skip to content

lukas0008/isnt-even-nor-odd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%