API reference
python:irx:irx.builder.lowering.CollectionVisitorMixin._static_collection_length
method _static_collection_length
_static_collection_length(base: astx.AST) -> int | None
Source: packages/irx/src/irx/builder/lowering/collections.py:59
Declared as: python:irx:irx.builder.lowering.collections.CollectionVisitorMixin._static_collection_length
Return a statically known collection length.
Parameters
- base — Base value or declaration.; Type: astx.AST
Returns
A statically known collection length.; Type: int | None