Documentation
IPS_VariableProfileExists
boolean IPS_VariableProfileExists (string $ProfileName)
Parameters
ProfileName | Name of the variable profile |
Returns
If the variable profile with the name ProfileName exists, TRUE is returned, otherwise FALSE.
Description
This function checks if the variable profile with the name ProfileName exists.
Example
if (IPS_VariableProfileExists("Temperature"))
echo "Profile already exists!";