public hasArgument ( string | integer $name, boolean $includeBase = true ) : boolean | ||
$name | string | integer | The argument name or its 0-based position in the argument list. |
$includeBase | boolean | Whether to include arguments in the base format in the search. |
return | boolean | Returns `true` if the argument with the given name or position could be found and `false` otherwise. |