Python · Function
issubclass
issubclass() tests whether one class is a subclass of another. It can also test against several classes supplied in a tuple or union type.
Last updated
Syntax
issubclass(cls, classinfo, /)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
isinstance()type()super()