Variant.getBoolean

Returns the boolean value of @value.

It is an error to call this function with a @value of any type other than %G_VARIANT_TYPE_BOOLEAN.

class Variant
bool
getBoolean
()

Return Value

Type: bool

%TRUE or %FALSE

Meta

Since

2.24