| Package | system.data |
| Interface | public interface Validator |
| Implementors | TypedArray, TypedCollection, TypedMap, TypedQueue, TypedStack |
| Method | Defined By | ||
|---|---|---|---|
supports(value:*):Boolean
Returns true if the specific value is valid. | Validator | ||
validate(value:*):void
Evaluates the specified value and throw a TypeError object if the value is not valid. | Validator | ||
| supports | () | method |
public function supports(value:*):Boolean
Returns true if the specific value is valid.
Parameters
value:* |
Boolean — true if the specific value is valid.
|
| validate | () | method |
public function validate(value:*):void
Evaluates the specified value and throw a TypeError object if the value is not valid.
Parameters
value:* |
TypeError — if the value is not valid.
|