Trait string_patterns::IsNumeric
source · pub trait IsNumeric {
// Required method
fn is_numeric(&self) -> bool;
}
Expand description
Method to check if the string may be parsed to an integer or float
Required Methods§
fn is_numeric(&self) -> bool
Implementations on Foreign Types§
source§impl IsNumeric for String
impl IsNumeric for String
source§fn is_numeric(&self) -> bool
fn is_numeric(&self) -> bool
Check if the string may be parsed to a number