GLib.Variant.prototype.equal
function equal(two: GLib.Variant): Boolean {
// Gjs wrapper for g_variant_equal()
}
Checks if one and two have the same type and value.
The types of one and two are #gconstpointer only to allow use of this function with GLib.HashTable. They must each be a GLib.Variant.
Since 2.24
- two
a GLib.Variant instance
- Returns
true if one and two are equal