isName {stranslate} | R Documentation |
Checks if a txt
consists of valid name(s):
A name must start with a letter and can be a combination of letters, digits, period(.) and underscore(_).
Reserved words cannot be used as a name (TRUE, FALSE, NULL, if...)
isName(txt)
txt |
character: name(s) to check |
a logical vector
isName("?plot")
isName(".default")