GLib.VariantDict.prototype.remove

function remove(key: String): Boolean {
    // Gjs wrapper for g_variant_dict_remove()
}
  

Removes a key and its associated value from a GLib.VariantDict.

Since 2.40

key

the key to remove

Returns

true if the key was found and removed