grandMA3 User Manual Publication
ClassExists(string)
grandMA3 User Manual » Plugins » Lua Functions - Object-Free API » ClassExists(string)
|
Version 2.0
|
Description
The ClassExists Lua function returns a boolean indicating whether the provided string is a class.
Arguments
- String:
A string containing a single word that could be a class.
Return
- Boolean:
The function returns a boolean.- True:
The provided word is a class. - False:
The provided input is not a class.
- True:
Example
This example asks if the word "Display" is a class and returns proper feedback.
Lua |
return function() |