is-even 1.0.0

Returns true if the given number is odd.
Documentation
  • Coverage
  • 0%
    0 out of 3 items documented0 out of 2 items with examples
  • Size
  • Source code size: 5.79 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 252.51 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • baWedekind/is-even
    23 3 3
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • baWedekind

is-even

Returns true if the given number is even.

Install

Specify the dependencty in Cargo.toml:

[dependencies]
is-even = "~1.0.0"

Fetch it with cargo:

$ cargo build

Usage

extern crate is_even;
use is_even::IsEven;

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

About

License

Copyright © 2019, baWedekind. Released under the MIT License.