is_temporarily_closed()
Determine whether the agent is a member of a group and the group is currently closed.
Synopsis
is_temporarily_closed(group_type)
Description
This function returns true if the agent is a member of a group of the given group type and the group is currently closed.
Parameters
group_type
A valid group type, either a place or a network, that should be checked.
Returns
Returns \(1\) (true
) if the current agent is a member
of a group
of the given type and is currently closed.
Otherwise, this returns \(0\) (false
).
Examples
If there is a network, Agent_Network
, then the following conditional
applies to agents who are members of the network when the group is closed.
if (is_temporarily_closed(Agent_Network)) then ...
See Also
skip(), is_skipping(), is_at(), is_group_agent(), is_open(), join() quit()