The MODULE_ENABLED function returns a Boolean value indicating whether or not the module specified by name is enabled or disabled. The function will return true if the module is enabled. It will return false if the module is disabled or is not present. The function takes a single string parameter containing the name of the module definition to be checked.
@MODULE_ENABLED (Module Name) | |
---|---|
Module Name | Required string parameter; contains the definition name of the
module to be checked by the function. |
Boolean