GLib.VariantType.prototype.is_array

function is_array(): Boolean {
    // Gjs wrapper for g_variant_type_is_array()
}
  

Determines if the given type is an array type. This is true if the type string for type starts with an 'a'.

This function returns true for any indefinite type for which every definite subtype is an array type -- %G_VARIANT_TYPE_ARRAY, for example.

Returns

true if type is an array type

Since 2.24