is_type_var
Returns True if the annotation is a TypeVar.
Signature:
def is_type_var(annotation: Type) -> bool: ...Parameters:
-
annotation:- Type
-
Type
Returns True if the annotation is a TypeVar.
def is_type_var(annotation: Type) -> bool: ... annotation:
Type