API reference

python:astx:astx.collections.CollectionLength

class CollectionLength

CollectionLength(base: astx.AST)

Source: packages/astx/src/astx/collections/common.py:18

Declared as: python:astx:astx.collections.common.CollectionLength

Common collection length query node.

Return the logical length of a list, tuple, set, dictionary, or string as an Int64 value. String length counts Unicode code points.

Attributes

Methods

Attributes

Search documentation

Type to search.