GLib.VariantBuilder.prototype.close

function close(): void {
    // Gjs wrapper for g_variant_builder_close()
}
  

Closes the subcontainer inside the given builder that was opened by the most recent call to GLib.VariantBuilder.prototype.open.

It is an error to call this function in any way that would create an inconsistent value to be constructed (ie: too few values added to the subcontainer).

Since 2.24