is_generic_alias

Returns True if the type is a generic alias.

Signature:

def is_generic_alias(type_: Any) -> TypeGuard[_GenericAlias]:
...

Parameters:

  1. type_:

    Type
    Any