API reference
python:irx:irx.builder.lowering.CollectionVisitorMixin._entry_can_match_probe
method _entry_can_match_probe
_entry_can_match_probe(entry_type: astx.DataType | None, probe_type: astx.DataType | None, resolution: ResolvedCollectionMethod) -> bool
Source: packages/irx/src/irx/builder/lowering/collections.py:228
Declared as: python:irx:irx.builder.lowering.collections.CollectionVisitorMixin._entry_can_match_probe
Return whether one literal entry can match a probe value.
Parameters
-
entry_type โ Type of entry.; Type: astx.DataType | None
-
probe_type โ Type of probe.; Type: astx.DataType | None
-
resolution โ Resolution.; Type: ResolvedCollectionMethod
Returns
Whether one literal entry can match a probe value.; Type: bool