previousIndex

open fun previousIndex(): Int

Get index of the previous element.

Return

Index of the previous element.

Throws

There is no previous element.