« Back to Product

Documentation

IPS_ObjectExists

 boolean IPS_ObjectExists (int $ObjectID) 

Parameters

ObjectID

The ID of the object

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

This function checks if an object with the ID ObjectID exists.

Example

if (IPS_ObjectExists(34881))
    echo "An object with that ID exists!";
Any questions?