Gimp.Resource.prototype.is_editable

function is_editable(): Boolean {
    // Gjs wrapper for gimp_resource_is_editable()
}
  

Whether the resource can be edited.

Returns TRUE if you have permission to change the resource.

Since 3.0

Returns

TRUE if the resource can be edited.