VariantType.isSubtypeOf

bool isSubtypeOf(glib.variant_type.VariantType supertype)

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.

Parameters

supertypea #GVariantType

Returns

true if type is a subtype of supertype

Since 2.24