attach.isgroup

Syntax

s = attach.group(a<,slot>)
attach.group(a<,slot>) = s

Check if the group s is associated with the attach. Will return true if a match is found in any slot. If the optional third argument slot is provided, then it will only check that slot.

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

Returns:

b - true if the group was found in that attach

Arguments:

z - a pointer to an attach

s - a group name

slot - an optional slot specification. If not provided, the check will occur on all slots that have been assigned to the attach.