KeyFile.hasKey

Looks whether the key file has the key key in the group group_name. Since 2.6

class KeyFile
int
hasKey
(
string groupName
,
string key
)

Parameters

groupName string

a group name

key string

a key name

Return Value

Type: int

TRUE if key is a part of group_name, FALSE otherwise.

Throws

GException on failure.

Meta