Gio.AppInfo.prototype.can_delete

function can_delete(): Boolean {
    // Gjs wrapper for g_app_info_can_delete()
}
  

Obtains the information whether the Gio.AppInfo can be deleted. See Gio.AppInfo.prototype.delete.

Since 2.20

Returns

true if appinfo can be deleted