arity_greater
Determines if a function's arity is greater than a specified value by checking its argument count and the presence of variable arguments.
def arity_greater(
fun: callable,
n: integer
) - > boolean
Determines if a function can accept more than a specified number of positional arguments by checking its signature and variable argument support.
Parameters
| Name | Type | Description |
|---|---|---|
| fun | callable | The function or callable object whose signature is being inspected. |
| n | integer | The threshold count of positional arguments to compare against the function's arity. |
Returns
| Type | Description |
|---|---|
boolean | True if the function has a variable arguments collector (*args) or if its fixed positional argument count exceeds n; otherwise False. |