src/Validation.php
public function isValidField(string $field): bool {
        $result = empty($this->errors[$field]);
        return $result;
    }
public function isValidField(string $field): bool {
        $result = empty($this->errors[$field]);
        return $result;
    }
public function isValidField ( string $ field ) : bool { $ result = empty ( $ this -> errors [ $ field ] ) ; return $ result ; }
Check whether or not a particular field is has errors.

@param string $field The name of the field to check for validity.
@return bool Returns true if the field has no errors, false otherwise.
Check whether or not a particular field is has errors .