container[index]
) where the input type is not modified.
container[index]
is syntactic sugar for container.index(index)
.
Signature
Examples
The following example implementsIndexView
on a NucleotideCount
container, which can be
indexed without modifying the input, enabling individual counts to be retrieved with index
syntax.
Trait functions
index
Performs the indexing (container[index]
) operation.