VariantG.isOfType

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

class VariantG
bool
isOfType

Parameters

type glib.variant_type.VariantType

a #GVariantType

Return Value

Type: bool

true if the type of value matches type