GLib.Variant.prototype.get_variant

function get_variant(): GLib.Variant {
    // Gjs wrapper for g_variant_get_variant()
}
  

Unboxes value. The result is the GLib.Variant instance that was contained in value.

Since 2.24

Returns

the item contained in the variant