Gimp.Drawable.prototype.is_indexed

function is_indexed(): Boolean {
    // Gjs wrapper for gimp_drawable_is_indexed()
}
  

Returns whether the drawable is an indexed type.

This procedure returns TRUE if the specified drawable is of type { Indexed, IndexedA }.

Returns

TRUE if the drawable is an indexed type.