is_basic


Description:

public bool is_basic ()

Determines if the given this 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 .

Parameters:

this

a VariantType

Returns:

true if this is a basic type

Since 2.24