string_is_valid


Description:

public static bool string_is_valid (string type_string)

Checks if type_string is a valid GVariant type string.

This call is equivalent to calling string_scan and confirming that the following character is a nul terminator.

Parameters:

type_string

a pointer to any string

Returns:

true if type_string is exactly one valid type string

Since 2.24