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:110
Return accepted containment probe types for one collection.
Dictionaries use key containment; other collections use value/element containment.
Parameters
- type_ — Type: astx.DataType | None
Returns
Type: tuple[astx.DataType, Ellipsis]