Gimp.Item.prototype.is_selection
function is_selection(): Boolean {
// Gjs wrapper for gimp_item_is_selection()
}
Returns whether the item is a selection.
This procedure returns TRUE if the specified item is a selection.
Since 2.8
- Returns
TRUE if the item is a selection, FALSE otherwise.