GLib.VariantType.prototype.next
function next(): GLib.VariantType {
// Gjs wrapper for g_variant_type_next()
}
Determines the next item type of a tuple or dictionary entry type.
type must be the result of a previous call to GLib.VariantType.prototype.first or GLib.VariantType.prototype.next.
If called on the key type of a dictionary entry then this call returns the value type. If called on the value type of a dictionary entry then this call returns null.
For tuples, null is returned when type is the last item in a tuple.
- Returns
-
the next GLib.VariantType after type, or null
Since 2.24