pylabrobot.default.is_not_default#

pylabrobot.default.is_not_default(value: Union[pylabrobot.default.T, pylabrobot.default._DefaultType]) typing_extensions.TypeGuard[pylabrobot.default.T]#

Returns True if the value is not the default value. This serves as a typeguard.

Unfortunately this method is needed as the typeguard for is_default does not reveal to mypy that the value is T.

Parameters

value (Union[pylabrobot.default.T, pylabrobot.default._DefaultType]) –

Return type

typing_extensions.TypeGuard[pylabrobot.default.T]