Class

PatternValidator

PatternValidator()

Constructor

# new PatternValidator()

Handles Pattern validations

.

Handles Pattern validations

View Source model/Validations.js, line 214

Extends

Methods

# hasErrors(value, …argsopt) → {string|undefined}

returns the error message, or nothing if is valid

.

returns the error message, or nothing if is valid

Parameters:
Name Type Attributes Description
value

the value

args <optional>
<repeatable>

optional others args

Inherited From:

View Source model/Validations.js, line 195

errors or nothing

string | undefined