NativeScript 9.1 Released → V8 14.9, Vite 8 HMR, built for rapid agentic visual iteration
Dig in
ts
function getClass(object: any): string;

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

A function that gets the class name of an object.

Parameters

ParameterTypeDescription
objectanyThe object. Returns a string with the name of the class.

Returns

string