9.0 Released! → Native ESM runtimes 🚀, Vite support ⚡️, multi-window apps and more...
Read Announcement
ts
function getBaseClasses(object: any): string[];

Defined in: utils/types.d.ts:88

A function that gets the entire class hierarchy of an object.

Parameters

ParameterTypeDescription
objectanyThe object. Returns an array of strings with the name of all base classes.

Returns

string[]

Previous
GC