Translation is in progress...
Not all topics are available at the moment and content links may be broken.
boolean IPS_CategoryExists (integer $CategoryID)
|CategoryID||ID of the category to be tested|
If the CategoryID exists in the system, TRUE is returned, otherwise FALSE.
The command will check if the category with the ID CategoryID exists.
if (IPS_CategoryExists(45724)) echo "Category already exists!";