func_accepts_var_args
Return True if function 'func' accepts positional arguments *args.
def func_accepts_var_args(
func: callable
) - > boolean
Return True if function 'func' accepts positional arguments *args.
Parameters
| Name | Type | Description |
|---|---|---|
| func | callable | The function or callable object to inspect for variable positional argument support |
Returns
| Type | Description |
|---|---|
boolean | True if the callable accepts a variable number of positional arguments (*args), False otherwise |