GLib.VariantType.prototype.hash
function hash(): Number(guint) { // Gjs wrapper for g_variant_type_hash() }
Hashes type.
The argument type of type is only #gconstpointer to allow use with GLib.HashTable without function pointer casting. A valid GLib.VariantType must be provided.
- Returns
-
the hash value
Since 2.24