defined

defined -- Checks whether a given named constant exists.

Description

int defined(string name);

Returns TRUE if the named constant given by name has been defined, false otherwise.

See also define() and the section on Constants.