struct.isgroup

Syntax

b = struct.isgroup(p,s<,slot>)

Check if the group s is associated with the structural element. 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.

Returns:

b - true if the group was found in that element

Arguments:

p - a pointer to a structural element

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 element.