Gimp.Drawable.prototype.is_gray

function is_gray(): Boolean {
    // Gjs wrapper for gimp_drawable_is_gray()
}
  

Returns whether the drawable is a grayscale type.

This procedure returns TRUE if the specified drawable is of type { Gray, GrayA }.

Returns

TRUE if the drawable is a grayscale type.