Locker\Request::hasParam PHP Method

hasParam() public method

Determines if the param is set.
public hasParam ( String $key ) : boolean
$key String Param to be checked.
return boolean True if the param exists, false if it doesn't.
    public function hasParam($key)
    {
        return isset($this->getParams()[$key]);
    }