grandMA3 User Manual Publication
IsClassDerivedFrom(string, string)
grandMA3 User Manual » Plugins » Lua Functions - Object-Free API » IsClassDerivedFrom(string, string)
|
Version 2.0
|
Description
The IsClassDerivedFrom Lua function returns a boolean indicating if a class is derived from a different class.
Arguments
- String:
This string needs to be the name of the class that might be derived from a different class. - String:
This string needs to be the name of the class that might be the base class.
Return
- Boolean:
The returned boolean indicates if the class is derived from the base class.
Example
This example checks if a class is derived from a different class and returns useful feedback.
Lua |
return function() |