GLib.VariantType.new_array
function new_array(element: GLib.VariantType): GLib.VariantType { // Gjs wrapper for g_variant_type_new_array() }
Constructs the type corresponding to an array of elements of the type @type.
It is appropriate to call GLib.VariantType.prototype.free on the return value.
- element
- Returns
-
a new array GLib.VariantType
Since 2.24