GLib.VariantType.prototype.is_container

function is_container(): Boolean {
    // Gjs wrapper for g_variant_type_is_container()
}
  

Determines if the given type is a container type.

Container types are any array, maybe, tuple, or dictionary entry types plus the variant type.

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

Returns

true if type is a container type

Since 2.24