Check if a class is a subclass of a generic instance, i.e., it is a subclass of the generic class, and has compatible type arguments.
subclass (Any) – the (potentially generic) subclass to check
Any
base (Any) – the (potentially generic) base class to check against
bool
True if the class is a subclass of the generic instance, False otherwise
True
False
previous
pytools.typing.isinstance_generic
next
pytools.viz