subscript(_:)
Accesses the code unit at the specified position.
Declaration
subscript(position: Int) -> UTF16.CodeUnit { get }Parameters
- position:
The position of the element to access.
positionmust be a valid index of the collection that is not equal to theendIndexproperty.