Skip to content

is_group_agent

Syntax

is_group_agent(group-name) 

Parameters

group-name
The group being checked.

Returns

Checks if the evaluating agent is the group agent of a group.

True if the evaluating agent is the group agent of a group of the given type. False otherwise.

Description

Predicate that checks if the evaluating agent evaluating agent is the group agent of a group of the given type.

Examples

If there is a network, NETWORK, with a group agent, then this group agent can be selected with the conditional:

if (is_group_agent(NETWORK)) then ...

See Also