Gio.DesktopAppInfo.prototype.has_key

function has_key(key: String): Boolean {
    // Gjs wrapper for g_desktop_app_info_has_key()
}
  

Returns whether key exists in the "Desktop Entry" group of the keyfile backing info.

Since 2.36

key

the key to look up

Returns

true if the key exists