Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.data/DataList/getInt

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

Generated by Dokka
(c) Tealium 2026