Method
GLibVariantTypeis_subtype_of
since: 2.24
Declaration
gboolean
g_variant_type_is_subtype_of (
const GVariantType* type,
const GVariantType* supertype
)
Description
Checks if type is a subtype of supertype.
This function returns TRUE if type is a subtype of supertype. All
types are considered to be subtypes of themselves. Aside from that,
only indefinite types can have subtypes.
Available since: 2.24
Parameters
supertype-
Type:
GVariantTypeA
GVariantType.The data is owned by the caller of the method.