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

type to check

Returns:

true if this is a basic type Since 2.24