extrude.block.isgroup

Syntax

b := extrude.block.isgroup(bp,s<,slot>)

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

Arguments:

bp - a pointer to a block

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