# even_any_type

[](https://crates.io/crates/even_any_type)
[](https://crates.io/crates/even_any_type)
https://crates.io/crates/even_any_type
A lightweight Rust crate providing simple, type-specific methods to check if a value is even, for all primitive numerical types.
## 🚀 Usage
Add it to your `Cargo.toml`:
```bash
cargo add even_any_type
```
Basic usage
```rust
fn main() {
println!("{}", 4.is_even());
println!("{}", 3.1.is_even());
}
```
# Features
- Simple and ergonomic
- No dependencies (just std :C)
- Minimal footprint
# See Github for Up To Date Docs
Leave a star to be a star! ⭐
- https://github.com/had2020/even_any_type
PRs welcome, keep it simple.