fun_accepts_kwargs
Return true if function accepts arbitrary keyword arguments.
def fun_accepts_kwargs(
fun: callable
) - > boolean
Return true if function accepts arbitrary keyword arguments.
Parameters
| Name | Type | Description |
|---|---|---|
| fun | callable | The function or callable object to inspect for keyword argument support |
Returns
| Type | Description |
|---|---|
boolean | True if the provided function object accepts variable keyword arguments (**kwargs), otherwise False |