subscript(_:)
Reads and writes the value at the given index as an unsigned integer.
Declaration
subscript<T>(index: Int) -> T? where T : UnsignedInteger { get set }Parameters
- index:
The position of the element to access.
Return Value
The value at the specified index in the array, otherwise nil.