checking

Crates.iochecking
lib.rschecking
version0.1.0
sourcesrc
created_at2022-08-02 12:08:52.187137
updated_at2022-08-02 12:08:52.187137
descriptionA simple data checker for Rust
homepage
repository
max_upload_size
id637303
size4,544
Nicolas AMATI (ItsMeViipeR)

documentation

README

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
}

See the doc on https://docs.rs/checking

Commit count: 0

cargo fmt