block.contact.isgroup

Syntax

b := block.contact.isgroup(bcpp,s<,slot>)

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

Arguments:

bcpp - a pointer to a contact

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