Variant.getBoolean

bool 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.

Returns

true or false