block.subcontact.isgroup

Syntax

b := block.subcontact.isgroup(bscp,s<,slot>)

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

A group pointer or a slot index may be provided instead of strings for efficiency. See the group.find and group.find.slot intrinsics.

Returns:

b - true if the group was found in that subcontact

Arguments:

bscp - a pointer to a subcontact

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