Gimp.Resource.prototype.is_palette
function is_palette(): Boolean {
// Gjs wrapper for gimp_resource_is_palette()
}
Returns whether the resource is a palette.
This procedure returns TRUE if the specified resource is a palette.
Since 3.0
- Returns
TRUE if the resource is a palette, FALSE otherwise.