Function

GLib-2.0GLibvariant_type_string_is_valid

  • Checks if type_string is a valid GVariant type string.

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

    Parameters

    • type_string: string

      a pointer to any string

    Returns boolean

    true if type_string is exactly one valid type string Since 2.24