Caplin Trader 5.1.0

Class: module:br-validation/NotEmptyValidator

module:br-validation/NotEmptyValidator()

new module:br-validation/NotEmptyValidator()

Implements:

Methods

validate(vValue, mAttributes, oValidationResult) → {void}

Determine whether the provided value is valid or not and set the result on the provided module:br-validation/ValidationResult.

Parameters:
Name Type Description
vValue Object

The value to validate.

mAttributes Object

attributes to control the validation process. Will not be null.

oValidationResult module:br-validation/ValidationResult

the ValidationResult to store the result of this validation in.

Implements:
Returns:
Type
void