VariantType.stringIsValid

Checks if @type_string is a valid GVariant type string. This call is equivalent to calling g_variant_type_string_scan() and confirming that the following character is a nul terminator.

class VariantType
static
bool
stringIsValid
(
string typeString
)

Parameters

typeString string

a pointer to any string

Return: %TRUE if @type_string is exactly one valid type string

Since 2.24

Meta