GLib.VariantType.prototype.key
function key(): GLib.VariantType {
// Gjs wrapper for g_variant_type_key()
}
Determines the key type of a dictionary entry type.
This function may only be used with a dictionary entry type. Other than the additional restriction, this call is equivalent to GLib.VariantType.prototype.first.
- Returns
-
the key type of the dictionary entry
Since 2.24