Gimp.Item.prototype.is_group_layer

function is_group_layer(): Boolean {
    // Gjs wrapper for gimp_item_is_group_layer()
}
  

Returns whether the item is a group layer.

This procedure returns TRUE if the specified item is a group layer.

Since 3.0

Returns

TRUE if the item is a group layer, FALSE otherwise.