GLib.VariantDict.prototype.end

function end(): GLib.Variant {
    // Gjs wrapper for g_variant_dict_end()
}
  

Returns the current value of dict as a GLib.Variant of type %G_VARIANT_TYPE_VARDICT, clearing it in the process.

It is not permissible to use dict in any way after this call except for reference counting operations (in the case of a heap-allocated GLib.VariantDict) or by reinitialising it with GLib.VariantDict.init (in the case of stack-allocated).

Since 2.40

Returns

a new, floating, GLib.Variant