Package: glib

Function glib:variant-type-is-definite

Lambda List

glib: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, that is not indefinite. A type is definite if its variant type string does not contain any indefinite type characters like "*", "?", or "r". A variant type may not have an indefinite type, so calling this function on the result of the g:variant-type-new function 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

2024-11-20