boolean IPS_HasInstanceChildren (boolean $InstanceID)
InstanceID | ID of the instance |
The return value is TRUE if the instance has a child instance, otherwise, FALSE.
This function should not be used since IP-Symcon 2.6 and was removed with IP-Symcon 4.0.
The command indicates whether a particular instance of InstanceID, seen by the hardware (physical) view, has a child instance e.g. a splitter or device module.
This command is only useful for I / O and splitter instances.
if(IPS_HasInstanceParent(12345))
{
echo "Has a child instance";
}