subscript(_:)
Accesses the element at the specified index.
Declaration
subscript(index: Int) -> Int32 { get set }Parameters
- index:
The index of the element to access.
indexmust be in the range0..<scalarCount.
Accesses the element at the specified index.
subscript(index: Int) -> Int32 { get set }The index of the element to access. index must be in the range 0..<scalarCount.