Gimp.gradient_is_editable

function gradient_is_editable(name: String): Boolean {
    // Gjs wrapper for gimp_gradient_is_editable()
}
  

Tests if gradient can be edited

Returns TRUE if you have permission to change the gradient

Since 2.4

name

The gradient name.

Returns

TRUE if the gradient can be edited.