endIndex
The “past the end” position—that is, the position one greater than the last valid subscript argument.
Declaration
var endIndex: CollectionOfOne<Element>.Index { get }Discussion
In a CollectionOfOne instance, endIndex is always 1.
The “past the end” position—that is, the position one greater than the last valid subscript argument.
var endIndex: CollectionOfOne<Element>.Index { get }In a CollectionOfOne instance, endIndex is always 1.