Object:isInstanceOf

From GiderosMobile
Revision as of 06:24, 12 January 2022 by MoKaLux (talk | contribs) (language)

Available since: Gideros 2015.08
Class: Object

Description

Returns true if instance is of provided class name or if it inherits from provided class name.

(boolean) = Object:isInstanceOf(classname)

Parameters

classname: (string) the name of the class to check relation to

Return values

Returns (boolean) true if instance belongs or inherits from class, false otherwise