API reference

python:irx:irx.analysis.collections.collection_contains_types

function collection_contains_types

collection_contains_types(type_: astx.DataType | None) -> tuple[astx.DataType, ...]

Source: packages/irx/src/irx/analysis/collections.py:102

Return accepted containment probe types for one collection.

Dictionaries use key containment; other collections use value/element containment.

Parameters

Returns

Accepted containment probe types for one collection.; Type: tuple[astx.DataType, ...]

Search documentation

Type to search.