name
is a reserved word, as defined in NODE_RESERVED_NAMES_CONST
.Checks whether name
is a reserved word, as defined in NODE_RESERVED_NAMES_CONST
.
CheckNameReservedWord(name, check = c("check", "no-warn", "no-check"))
the name to check
Either
"check"
: if the name conformance should be checked and warnings should be printed in case of non-conformance (the default)
"no-warn"
: if the name conformance should be checked, but no warnings should be printed in case of non-conformance (if you expect non-conformance)
"no-check" or FALSE
: if the name conformance should not be checked; use this if performance is critical. However, in case of non-conformance, expect cryptic follow-up errors