Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

is_subclass_of()

3 tags 1 category

is_subclass_of() — Checks if the object has this class as one of its parents or implements it.

is_subclass_of() — Checks if the given object_or_class has the class class as one of its parents or implements it.

Inputs: object_or_class: A class name or an object instance. No error is generated if the class does not exist. class: The class name

Returns: This function returns true if the object object_or_class, belongs to a class which is a subclass of class, false otherwise.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…