VariantType.isDefinite

Determines if the given type is definite (ie: not indefinite). A type is definite if its type string does not contain any indefinite type characters ('*', '?', or 'r'). A GVariant instance may not have an indefinite type, so calling this function on the result of g_variant_get_type() will always result in TRUE being returned. Calling this function on an indefinite type like G_VARIANT_TYPE_ARRAY, however, will result in FALSE being returned. Since 2.24

class VariantType
int
isDefinite
()

Return Value

Type: int

TRUE if type is definite

Meta