Prado\Web\UI\WebControls\TDataTypeValidator::evaluateIsValid PHP Method

evaluateIsValid() public method

The validation succeeds if the input data is of valid type. The validation always succeeds if ControlToValidate is not specified or the input data is empty.
public evaluateIsValid ( ) : boolean
return boolean whether the validation succeeds
    public function evaluateIsValid()
    {
        if (($value = $this->getValidationValue($this->getValidationTarget())) === '') {
            return true;
        }
        return $this->evaluateDataTypeCheck($value);
    }