is-digit
Detect decimal digit in char or first char of the str and String.
Install
Specify the dependency in Cargo.toml:
is-digit = "~0.1.1"
Build is-digit with cargo:
Usage
extern crate is_digit;
use IsDigit;
let _i = '1';
println!; // prints true
let _j = "2";
println!; // prints true
let _k = Stringfrom;
println!; // prints true
About
License
Copyright © 2024, 255doesnotexist. Released under the MIT License.