DesktopAppInfo.hasKey

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

class DesktopAppInfo
bool
hasKey
(
string key
)

Parameters

key string

the key to look up

Return Value

Type: bool

true if the key exists