If the list is definitely not empty and initial index is definitely less than list count - then == will work as good as >=. With an empty list or initial index greater or equal to the count the == check won't work correctly.
The typical way to claim this is via precondition:
precondition(currentIndex >= 0 && currentIndex < elementList.count, "You shouldn't get here")
or just
precondition(currentIndex >= 0 && currentIndex < elementList.count)
This will trap the app if condition isn't withheld. Precondition is like an older "assert" but works in release builds as well as debug builds.
The exact type of indices depends on the Indices associated type of the Collection. For Array it's Range<Int>, but it can be other things, depending on the type