Package: glib

Function g-variant-type-equal

Lambda List

g-variant-type-equal (vtype1 vtype2)

Arguments

vtype1 -- a g-variant-type instance
vtype2 -- a g-variant-type instance

Return Value

True if vtype1 and vtype2 are exactly equal.

Details

Compares two variant types for equality. Only returns true if the types are exactly equal. Even if one type is an indefinite type and the other is a subtype of it, false will be returned if they are not exactly equal. If you want to check for subtypes, use the function g-variant-type-is-subtype-of.

For both arguments, a valid g-variant-type instance must be provided.
 

See also

2021-7-31