GLib.BookmarkFile.prototype.has_group
function has_group(uri: String, group: String): Boolean { // Gjs wrapper for g_bookmark_file_has_group() }
Checks whether group appears in the list of groups to which the bookmark for uri belongs to.
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
- group
the group name to be searched
- Returns
true if group was found.