Variant.isOfType

bool isOfType(glib.variant_type.VariantType type)

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

Parameters

typea #GVariantType

Returns

true if the type of value matches type