new module:br-validation /Not Empty Validator()
- Implements:
Methods
validate(vValue, mAttributes, oValidation Result) → {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 |
the ValidationResult to store the result of this validation in. |
- Implements:
Returns:
- Type
- void