Skip to main content
Version: 1.2.2

cancel_type

FunctionPrivateSource

_data: Any = cancel_type(data: Any)

Remove the typehint of a value with a known type.

It is equivalent with

_data = cast(Any, data)

Arguments

Requires

ArgumentTypeRequired
Description
dataAnyA value that has any notation.

Returns

ArgumentType
Description
_dataAnyThe same input data, while the notation is replaced by Any.