Gimp.Drawable.prototype.is_rgb

function is_rgb(): Boolean {
    // Gjs wrapper for gimp_drawable_is_rgb()
}
  

Returns whether the drawable is an RGB type.

This procedure returns TRUE if the specified drawable is of type { RGB, RGBA }.

Returns

TRUE if the drawable is an RGB type.