Documentation
HasAction
Require: IP-Symcon >= 5.3
boolean HasAction (int $VariableID)
Parameters
VariableID | ID of the variable |
Returns
TRUE, if the 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 nor correctness.
Example
// Checks whether the variable with the ID 12356 has an action.
HasAction(12345);