GLib.Variant.prototype.unref

function unref(): void {
    // Gjs wrapper for g_variant_unref()
}
  

Decreases the reference count of value. When its reference count drops to 0, the memory used by the variant is freed.

Since 2.24