checking 0.1.0

A simple data checker for Rust
Documentation
  • Coverage
  • 75%
    3 out of 4 items documented2 out of 3 items with examples
  • Size
  • Source code size: 4.2 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.2 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ItsMeViipeR

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