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. Since 2.24

class VariantType
static
int
stringIsValid
(
string typeString
)

Parameters

typeString string

a pointer to any string

Return Value

Type: int

TRUE if type_string is exactly one valid type string

Meta