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