Gimp.Resource.prototype.delete

function delete(): Boolean {
    // Gjs wrapper for gimp_resource_delete()
}
  

Deletes a resource.

Deletes a resource. Returns an error if the resource is not deletable. Deletes the resource's data. You should not use the resource afterwards.

Since 3.0

Returns

TRUE on success.