VariantType.isBasic

Determines if the given 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 G_VARIANT_TYPE_BASIC. Since 2.24

class VariantType
int
isBasic
()

Return Value

Type: int

TRUE if type is a basic type

Meta