struct.node.isgroup

Syntax

b := struct.node.isgroup(sn,s<,slot>)

Check if the group name s is associated with the zone gridpoint sn. By default, will check if there is a match in any slot; if the slot argument is specified, it will return a match only in that slot. Use of the group logic is described in Groups.

Note that this will travel up the data hierarchy, as described in Group Heirarchies.

Returns:

b - true if a match was found; false otherwise.

Arguments:

sn - pointer to the structure node

s - group name to check against

slot - an optional slot specification; if not given, the slot Default is assumed