toggle menu
ktx
jvm
switch theme
search in API
collections
/
ktx.collections
/
lastIndex
last
Index
val
<
Type
>
GdxArray
<
Type
>
?
.
lastIndex
:
Int
val
GdxIntArray
?
.
lastIndex
:
Int
val
GdxFloatArray
?
.
lastIndex
:
Int
val
GdxBooleanArray
?
.
lastIndex
:
Int
Returns the last valid index for the array. -1 if the array is empty.