Gimp.Item.prototype.is_drawable

function is_drawable(): Boolean {
    // Gjs wrapper for gimp_item_is_drawable()
}
  

Returns whether the item is a drawable.

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

Since 2.8

Returns

TRUE if the item is a drawable, FALSE otherwise.