R/utils.R
is.syntactic.Rd
Is syntactic
is.syntactic(x)
A character of possible variable names.
A logical vector indicating whether a syntactically correct variable name.
is.syntactic(c("0", "x", "1x", "x y", "x1")) #> [1] FALSE TRUE FALSE FALSE TRUE