Garden\Validation::isValid PHP Метод

isValid() публичный Метод

Check whether or not the validation is free of errors.
public isValid ( ) : boolean
Результат boolean Returns true if there are no errors, false otherwise.
    public function isValid()
    {
        return count($this->errors) === 0;
    }