Skip to content

get_size

Syntax

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