[][src]Function cruncher::is_variable

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

Check if ident is a valid variable name

Examples


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