GLib.BookmarkFile.prototype.has_application
function has_application(uri: String, name: String): Boolean { // Gjs wrapper for g_bookmark_file_has_application() }
Checks whether the bookmark for uri inside bookmark has been registered by application name.
In the event the URI cannot be found, false is returned and @error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND.
Since 2.12
- uri
a valid URI
- name
the name of the application
- Returns
true if the application name was found