stringIsValid

fun stringIsValid(typeString: String): Boolean

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.

Return

true if @type_string is exactly one valid type string

Since 2.24

Parameters

typeString

a pointer to any string