Gimp.Item.id_is_channel

function id_is_channel(item_id: Number(gint)): Boolean {
    // Gjs wrapper for gimp_item_id_is_channel()
}
  

Returns whether the item ID is a channel.

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

Since 3.0

item_id

The item ID.

Returns

TRUE if the item ID is a channel, FALSE otherwise.