Package: glib

Function g-variant-new-boolean

Lambda List

g-variant-new-boolean (value)

Arguments

value -- a boolean value

Return Value

A floating reference to a new boolean g-variant instance.

Details

Creates a new boolean g-variant instance -- either true or false.

Examples

(g-variant-new-boolean nil) => #.(SB-SYS:INT-SAP #X5602D1E4F100)
(g-variant-boolean *) => NIL
(g-variant-new-boolean t) => #.(SB-SYS:INT-SAP #X5602D1E4F160)
(g-variant-boolean *) => T    
 

See also

*2021-10-8