Gimp.Item.id_is_layer
function id_is_layer(item_id: Number(gint)): Boolean {
// Gjs wrapper for gimp_item_id_is_layer()
}
Returns whether the item ID is a layer.
This procedure returns TRUE if the specified item ID is a layer.
Since 3.0
- item_id
The item ID.
- Returns
TRUE if the item is a layer, FALSE otherwise.