klyn.collections.ImmutableList.operator[]
method
public override readonly native operator[](index as Int) as T
Description
Returns the value at the given index. Supports negative indices: - `-1` is the last element - `-2` is the previous one
Parameters
  • index Zero-based index (or negative reverse index).
Returns
The stored value at the requested position.
Throws
  • IndexException if index is invalid.