GLib.VariantType.is_basic

### Method

# GLib VariantTypeis_basic

#### Declaration [src]

    gboolean
    g_variant_type_is_basic (
      const GVariantType* type
    )

#### Description [src]

Determines if the given `type` is a basic type.

Basic types are booleans, bytes, integers, doubles, strings, object paths and signatures.

Only a basic type may be used as the key of a dictionary entry.

This function returns `FALSE` for all indefinite types except `G_VARIANT_TYPE_BASIC`.

#### Return value

Type: `gboolean`

True if `type` is a basic type Since 2.24.