ContainerView
- class ContainerView
An immutable view into a native random-access container. Implements Sequence protocol.
Children
Members defined in
ContainerView(11 members)
Whether this container is not empty
Get the value at
index.
Returns the number of
valueoccurrences in this container
Whether this container is empty
Returns the index of
valuein this container. Methods
- __bool__() bool
Whether this container is not empty
- __contains__(value: object) bool
- __getitem__(index: slice) list[syside.T]
- __len__() int
- __str__() str
- at(arg0: int, arg1: syside.T, /) syside.T
Get the value at
index.Returns
arg1ifindexis out-of-bounds.
- empty() bool
Whether this container is empty