Elastica\Result::hasParam PHP Method

hasParam() public method

Test if a param from the result hit is set.
public hasParam ( string $name ) : boolean
$name string Param name to test
return boolean True if the param is set, false otherwise
    public function hasParam($name)
    {
        return isset($this->_hit[$name]);
    }