ApiMem().GroupIsEnabled
Tests the enabled/disabled state of a Group in memory.
Description
SILVIA is able to dynamically enable and disable Groups of Behaviors. This function returns a boolean true/false value as the result of a test to determine if a particular Group is indeed enabled or disabled in memory. Note that if the Group does not exist, a “false” value is returned by default.
Example Usage (C#)
//Checking to see if the “browsing” Behavior Group is enabled.
bool enabled = _core.ApiMem().GroupIsEnabled(“browsing”);
Parameters
string | group | The string containing the name of the Behavior Group to test. |
Returns
The boolean result of the operation, determining whether the specified Group is enabled. If the group doesn’t exist, this will return null.
See Also
- ApiMem().GroupEnable
- ApiMem().GroupEnableOnly
- ApiMem().GroupDisable