Method

GLibVariantis_of_type

Declaration

gboolean
g_variant_is_of_type (
  GVariant* value,
  const GVariantType* type
)

Description

Checks if a value has a type matching the provided type.

Available since:2.24

Parameters

type GVariantType
 

A GVariantType.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if the type of value matches type.