Class

TinValidator

TinValidator(errorMessage)

Constructor

# new TinValidator(errorMessage)

Parameters:
Name Type Default Description
errorMessage string That is not a valid Tin

View Source model/Validations.js, line 302

Methods

# hasErrors(value) → {string|undefined}

returns the error message, or nothing if is valid

.

returns the error message, or nothing if is valid

Parameters:
Name Type Description
value

the value

View Source model/Validations.js, line 311

the errors or nothing

string | undefined