Package: glib

Function g-variant-type-is-definite

Lambda List

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

Arguments

vtype -- a g-variant-type instance

Return Value

True if vtype is definite.

Details

Determines if the given variant type is definite, i.e. not indefinite. A type is definite if its type string does not contain any indefinite type characters ('*', '?', or 'r').

A g-variant-type instance may not have an indefinite type, so calling this function on the result of the function g-variant-type-new will always result in true being returned. Calling this function on an indefinite type like "a*", however, will result in false being returned.
 

See also

2021-7-31