GLib.Variant.prototype.ref

function ref(): GLib.Variant {
    // Gjs wrapper for g_variant_ref()
}
  

Increases the reference count of value.

Since 2.24

Returns

the same value