#equality #numbers #42

is_42

Simple, blazingly fast way of checking if a variable is equal to 42

2 releases

0.1.2 Jul 4, 2022
0.1.0 Jul 3, 2022

#1715 in Algorithms

MIT license

3KB

is-42

Simple, blazingly fast way of checking if a variable is equal to 42.

Example

let number = 42;

assert!(is_42::is_42(number));

lib.rs:

Is 42

A crate you can use to check if a number is equal to 42.

No runtime deps