findGroups

fun CompositionNode.findGroups(): List<GroupNode>

find all descendant GroupNode nodes, including potentially this node

Return

a List of GroupNode nodes