API reference
python:irx:irx.analysis.handlers._expressions.literals.ExpressionLiteralVisitorMixin._has_compatible_collection_probe
method _has_compatible_collection_probe
_has_compatible_collection_probe(expected_types: tuple[astx.DataType, ...], actual_type: astx.DataType | None) -> bool
Source: packages/irx/src/irx/analysis/handlers/_expressions/literals.py:361
Return whether one collection probe type is compatible.
Parameters
-
expected_types — Type: tuple[astx.DataType, Ellipsis]
-
actual_type — Type: astx.DataType | None
Returns
Type: bool