Variant.classify

Classifies value according to its top-level type. Since 2.24

class Variant
classify
()

Return Value

the GVariantClass of value

Meta