List[T] interface

implements Iterable

Indexable

  • __getitem__(self, index: int) -> _T

Methods

__iter__(self) -> Iterator

Inherited from Iterable.

__contains__(self, e: _T) -> bool
copy(self) -> MutableList[_T]
index(self, e: _T) -> int
rindex(self, e: _T) -> int
to_array(self) -> list[_T]

Properties

readonly empty bool
readonly length int