Class

LessThanValidator

LessThanValidator(messageopt)

Constructor

# new LessThanValidator(messageopt)

Less Than Validator

Parameters:
Name Type Attributes Description
message string <optional>

defaults to DEFAULT_ERROR_MESSAGES#LESS_THAN

View Source validation/Validators/LessThanValidator.ts, line 12

Extends

Methods

# hasErrors(value, options, accessor) → {string|undefined}

Validates a model

Parameters:
Name Type Description
value string
options LessThanValidatorOptions
accessor PathProxy.<any>

Proxy-like object used to resolve values from nested structures via path strings.

Overrides:
See:

View Source validation/Validators/LessThanValidator.ts, line 82

string | undefined