src/Parser/DateTimeParseResult.php
public function hasField(string $name) : bool
    {
        return isset($this->fields[$name]) && $this->fields[$name];
    }
public function hasField(string $name) : bool
    {
        return isset($this->fields[$name]) && $this->fields[$name];
    }
public function hasField ( string $ name ) : bool { return isset ( $ this -> fields [ $ name ] ) && $ this -> fields [ $ name ] ; }
Returns whether this result has at least one value for the given field.

@param string $name

@return bool
Returns whether this result has at least one value for the given field .