GLib.Variant.new_boolean
Description: Reference for GLib.Variant.new_boolean

### Function

# GLib Variantnew_boolean

since: 2.24

#### Declaration [src]

    GVariant*
    g_variant_new_boolean (
      gboolean value
    )

#### Description [src]

Creates a new boolean `GVariant` instance — either `TRUE` or `FALSE`.

Available since: 2.24

#### Parameters

`value`

  Type: `gboolean`

  A #gboolean value.

#### Return value

Type: `GVariant`

A floating reference to a new boolean `GVariant` instance.

The data is owned by the called function.