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

getLong

fun getLong(): Long?

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

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

Return

value as a Long; else converted to an Long if possible; else null

Generated by Dokka
(c) Tealium 2026