1 unstable release
0.1.0 | Aug 2, 2022 |
---|
#6 in #type-checking
4KB
Checker
By SKKYZUS#5453
All about this crate
This crate is a checking crate that make the type checking easier in Rust.
Usage
use checking::Checker;
fn main() {
let result: bool = Checker::type_of::<i32>(&"test".to_string());
match result {
true => println!("Correct type"),
false => println!("Incorrect type"),
}
// Expected result: Correct type
}