kwarg_has_default#

deeptrack.utils.kwarg_has_default(function: Callable, argument: str) bool#

Check if a specific argument of a function has a default value.

Parameters#

functionCallable

The function to inspect.

argumentstr

Name of the argument to check.

Returns#

bool

True if the specified argument has a default value.