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.

Returns true (1) if the agent is currently attending the specified group type. Returns false (0) otherwise.

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