getLong

fun getLong(index: Int): Long?

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

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

Return

The Long stored at the given index; else null

Parameters

index

The index in the list to retrieve