Table of Contents

Object:isInstanceOf

Available since version: Gideros 2015.08

Description:

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

Syntax:

(boolean) = Object:isInstanceOf(classname)

Parameters:

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

Return value:

  • boolean: true if instance belongs or inherits from class, false otherwise