get_size()

The number of members in a group agent’s group.

Synopsis

get_size()

Description

Returns the number of members in the group agent’s group.

Examples

If an agent is the group agent for a School, then the agent can find the size of the school with:

if (is_group_agent(School)) then my_school_size = get_size()

See Also

size()