is_at()
Agent predicate that checks if an agent is currently attending a group type.
Synopsis
is_at(group-name)
Description
True if the agent is currently attending the specified group type.
Parameters
group-name
The group being checked.
Examples
If an agent is a member of a school, then during the active hours of the group the agent will attend unless other rules tell them otherwise. While the agent is attending school,
is_at(School)
returns TRUE.
See Also
skip(), is_skipping(), is_group_agent(), is_member(), join(), attend(), quit()