pub trait TypeExt {
// Required methods
fn is_bool(&self) -> bool;
fn is_integer(&self) -> bool;
fn is_number(&self) -> bool;
fn is_string(&self) -> bool;
}
Expand description
Extension methods for Type
Required Methods§
Sourcefn is_integer(&self) -> bool
fn is_integer(&self) -> bool
true if this type is Type::Integer