Package: glib

Function glib:key-file-boolean

Lambda List

glib:key-file-boolean (keyfile group key)

Arguments

keyfile -- a g:key-file instance
group -- a string for the group name
key -- a string for the key

Return Value

The boolean with the value associated with the key, or nil if the key was not found or could not be parsed.

Details

The g:key-file-boolean function returns the value associated with key under group as a boolean. The (setf g:key-file-boolean) function associates a new boolean value with key under group. If key cannot be found then it is created.

If key cannot be found then nil is returned. Likewise, if the value associated with key cannot be interpreted as a boolean then nil.
 

See also

2025-1-12