issubclass

isinstance(object, classinfo)

Returns True if the object is a subclass of the class (built-in).

object??
classinfo??

REMARKS
* No prefix required - Core
* Return True if class is a subclass (direct, indirect, or virtual) of classinfo. A class is considered a subclass of itself. classinfo may be a tuple of class objects (or recursively, other such tuples) or a Union Type, in which case return True if class is a subclass of any entry in classinfo. In any other case, a TypeError exception is raised.
* For the Official documentation refer to python.org

?? 

© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited Top