Package: glib

Function g-variant-type-is-basic

Lambda List

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

Arguments

vtype -- a g-variant-type instance

Return Value

True if vtype is a basic type.

Details

Determines if the given variant type is a basic type. Basic types are booleans, bytes, integers, doubles, strings, object paths and signatures. Only a basic type may be used as the key of a dictionary entry.

This function returns false for all indefinite types except "?".
 

See also

2021-7-31