Package: glib

Function g-variant-type-is-maybe

Lambda List

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

Arguments

vtype -- a g-variant-type instance

Return Value

True if vtype is a maybe type.

Details

Determines if the given variant type is a maybe type. This is true if the type string for vtype starts with an 'm'.

This function returns true for any indefinite type for which every definite subtype is a maybe type - "m*", for example.
 

See also

2021-7-31