Function is_variable

Source
pub fn is_variable(ident: &str) -> bool
Expand description

Check if ident is a valid variable name

ยงExamples


assert_eq!(is_variable("__abc3"), true);
assert_eq!(is_variable("34zb"), false);