ValidatorName: ValidatorName

Description Usage Arguments Format Value Public Methods Author(s) See Also

Description

ValidatorName This class validates names of objects

Usage

1

Arguments

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

Format

An object of class R6ClassGenerator of length 24.

Value

Throws an error if the field doesn't pass validation

Public Methods

new()

Creates an object of ValidatorName class

validate(class, method, name, expect)

Validates the name variable

Author(s)

John James, jjames@datasciencesalon.org

See Also

Other Validation Classes: Authorizer, Validator0, ValidatorClass, ValidatorDate, ValidatorExists, ValidatorLogical, ValidatorNoSpaces, ValidatorNotEmpty, ValidatorNumeric, ValidatorPath, ValidatorString, ValidatorUrl, Validator


j2scode/NLPStudio documentation built on May 7, 2019, 8:58 p.m.