ktx
Toggle table of contents
jvm
Platform filter
jvm
Switch theme
Search in API
ktx
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.