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

getInt

fun getInt(): Int?

Returns the contained value as an Int if the contained value is an Int, or a Number that can be coerced to an Int.

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

Return

value as an Int; else converted to an Int if possible; else null

Generated by Dokka
(c) Tealium 2026