endIndex
The array’s “past the end” position—that is, the position one greater than the last valid subscript argument.
Declaration
var endIndex: InlineArray<count, Element>.Index { get }Discussion
If the array is empty, endIndex is equal to startIndex.