getInt

fun getInt(index: Int): Int?

Gets the Int entry at the given index if it exists and the value is an Int, or a Number that can be coerced to an Int.

If it is a Double or Long then the returned value will possibly lose accuracy as a result.

Return

The Int stored at the given index; else null

Parameters

index

The index in the list to retrieve