GLib.Variant.prototype.get_type_string

function get_type_string(): String {
    // Gjs wrapper for g_variant_get_type_string()
}
  

Returns the type string of value. Unlike the result of calling GLib.VariantType.peek_string, this string is nul-terminated. This string belongs to GLib.Variant and must not be freed.

Since 2.24

Returns

the type string for the type of value