Gio.DesktopAppInfo.prototype.get_boolean

function get_boolean(key: String): Boolean {
    // Gjs wrapper for g_desktop_app_info_get_boolean()
}
  

Looks up a boolean value in the keyfile backing info.

The key is looked up in the "Desktop Entry" group.

Since 2.36

key

the key to look up

Returns

the boolean value, or false if the key is not found