GLib.Variant.prototype.print

function print(type_annotate: Boolean): String {
    // Gjs wrapper for g_variant_print()
}
  

Pretty-prints value in the format understood by GLib.variant_parse.

The format is described [here][gvariant-text].

If type_annotate is true, then type information is included in the output.

Since 2.24

type_annotate

true if type information should be included in the output

Returns

a newly-allocated string holding the result.