Package: glib

Function g-variant-type-is-tuple

Lambda List

g-variant-type-is-tuple (vtype)

Arguments

vtype -- a g-variant-type instance

Return Value

True if vtype is a tuple type.

Details

Determines if the given type is a tuple type. This is true if the variant type string for type starts with a '(' or if type is "r".

This function returns true for any indefinite type for which every definite subtype is a tuple type - "r", for example.
 

See also

2021-7-31