Description Usage Arguments Format Value Public Methods Author(s) See Also
ValidatorName
This class validates names of objects
1 |
class |
Character string containing the class invoking the validation. |
method |
Character string containing the name of the invoking method |
name |
Character string containing the name variable |
expect |
Logical c(TRUE, FALSE) indicating expected outcome |
An object of class R6ClassGenerator
of length 24.
Throws an error if the field doesn't pass validation
new()
Creates an object of ValidatorName class
validate(class, method, name, expect)
Validates the name variable
John James, jjames@datasciencesalon.org
Other Validation Classes: Authorizer
,
Validator0
, ValidatorClass
,
ValidatorDate
,
ValidatorExists
,
ValidatorLogical
,
ValidatorNoSpaces
,
ValidatorNotEmpty
,
ValidatorNumeric
,
ValidatorPath
,
ValidatorString
,
ValidatorUrl
, Validator
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.