isName: isName

View source: R/isName.R

isNameR 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")

stranslate documentation built on May 29, 2024, 10:57 a.m.