isName {stranslate} | R Documentation |
isName
Description
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...)
Usage
isName(txt)
Arguments
txt |
character: name(s) to check |
Value
a logical vector
Examples
isName("?plot")
isName(".default")
[Package stranslate version 0.1.3 Index]