Documentation
HasAction
Require: Symcon >= 5.3
bool HasAction (int $VariableID)
Parameters
| VariableID | ID of the variable |
Returns
TRUE, if the variable has an action, otherwise FALSE
Description
The function checks the variable with the ID VariableID for an existing action.
The function only checks for the presence of an action, not its validity or correctness.
Example
// Checks whether the variable with the ID 12345 has an action.
HasAction(12345);