Skip to main content

get_arg_default_name

FunctionSource

v_1: str = get_arg_default_name(val: Any)

Format the given value as a string that can be used as the default field of a function argument (DocFunction).

Arguments

Requires

NameTypeRequired
Description
valAnyThe value to be checked.

Returns

NameType
Description
v_1str

The value that can be filled as the default value of a function argument.

If it is empty, the argument does not have the default configuration.