Difference between revisions of "Object:isInstanceOf"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | <languages /> | ||
'''<translate>Available since</translate>:''' Gideros 2015.08<br/> | '''<translate>Available since</translate>:''' Gideros 2015.08<br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/Object|Object]]<br/> | '''<translate>Class</translate>:''' [[Special:MyLanguage/Object|Object]]<br/> |
Revision as of 09:58, 3 September 2018
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