API reference
python:irx:irx.builder.lowering.CollectionVisitorMixin._lower_literal_collection_contains
method _lower_literal_collection_contains
_lower_literal_collection_contains(*, base: astx.AST, value: astx.AST, resolution: ResolvedCollectionMethod) -> ir.Value
Source: packages/irx/src/irx/builder/lowering/collections.py:249
Declared as: python:irx:irx.builder.lowering.collections.CollectionVisitorMixin._lower_literal_collection_contains
Lower containment for a literal collection.
Parameters
-
base โ Base value or declaration.; Type: astx.AST
-
value โ Value to process.; Type: astx.AST
-
resolution โ Resolution.; Type: ResolvedCollectionMethod
Returns
Lowered containment for a literal collection.; Type: ir.Value