Skip to content

is_at

Syntax

is_at(group-name)

Parameters

group-name
The group being checked.

Description

Agent predicate that checks if an agent is currently attending a group type.

True if the agent is currently attending the specified group type.

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