GLib.VariantType.prototype.element

function element(): GLib.VariantType {
    // Gjs wrapper for g_variant_type_element()
}
  

Determines the element type of an array or maybe type.

This function may only be used with array or maybe types.

Returns

the element type of type

Since 2.24