qimpy.io.cast_default

cast_default(item)

Cast an optional default to retain only the value.

Parameters:

item (T | Default[T]) –

Return type:

T