| Package | vegas.core |
| Interface | public interface IValidator |
| Subinterfaces | IModelObject |
| Implementors | AbstractTypeable |
| Method | Defined by | ||
|---|---|---|---|
|
supports(value:*):Boolean
Returns true if the IValidator object validate the value.
| IValidator | ||
|
validate(value:*):void
Evaluates the condition it checks and updates the IsValid property.
| IValidator | ||
| supports | () | method |
public function supports(value:*):BooleanReturns true if the IValidator object validate the value.
Parametersvalue:* |
Boolean — true is this specific value is valid.
|
| validate | () | method |
public function validate(value:*):voidEvaluates the condition it checks and updates the IsValid property.
Parametersvalue:* |