Gimp.Item.prototype.is_channel

function is_channel(): Boolean {
    // Gjs wrapper for gimp_item_is_channel()
}
  

Returns whether the item is a channel.

This procedure returns TRUE if the specified item is a channel.

Since 2.8

Returns

TRUE if the item is a channel, FALSE otherwise.