Gimp.Layer.prototype.remove_mask

function remove_mask(mode: Gimp.MaskApplyMode): Boolean {
    // Gjs wrapper for gimp_layer_remove_mask()
}
  

Remove the specified layer mask from the layer.

This procedure removes the specified layer mask from the layer. If the mask doesn't exist, an error is returned.

mode

Removal mode.

Returns

TRUE on success.