Contents

subscript(_:)

Accesses the element at the specified position.

Declaration

subscript(position: Int) -> Element { get set }

Parameters

  • position:

    The position of the element to access. The only valid position in a CollectionOfOne instance is 0.