Method

GLibVariantget_boolean

since: 2.24

Declaration [src]

gboolean
g_variant_get_boolean (
  GVariant* value
)

Description [src]

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.

Available since: 2.24

Return value

Type: gboolean

TRUE or FALSE.