is_group_agent()

Agent predicate that checks if the evaluating agent is the group agent of a group.

Synopsis

is_group_agent(group-name)

Description

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

Parameters

group-name

The group being checked.

Returns

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

Examples

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

if (is_group_agent(NETWORK)) then ...

See Also

skip(), is_skipping(), is_at(), is_member(), join(), attend(), quit()