Package: glib

Function glib:variant-boolean

Lambda List

glib:variant-boolean (value)

Arguments

value -- a g:variant instance with a boolean value

Return Value

The boolean values true or false.

Details

Returns the boolean value of value. It is an error to call this function with a value of any type other than a g:variant-type type with the "b" type string.

Examples

(g:variant-boolean (g:variant-new-boolean nil)) => NIL
(g:variant-boolean (g:variant-new-boolean t)) => T    
 

See also

2024-11-20