« Back to Product

Documentation

IPS_InstanceExists

 bool IPS_InstanceExists (int $InstanceID) 

Parameters

InstanceID

ID of the instance to be checked

Returns

If the InstanceID exists in the system, TRUE is returned, otherwise FALSE.

Description

The function checks whether the instance with the ID InstanceID exists.

Example

if (IPS_InstanceExists(45724))
    echo "Instance already exists!";
Any questions?