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

LONG

val LONG: DataItemConverter<Long>

A lenient converter to Long values.

This converter attempts the following conversions in order:

  1. Direct extraction as Long

  2. Extraction as String and parsing

Returns null for values that cannot be parsed as numbers. Decimals are truncated and out of bounds numbers will be coerced to between Long.MIN_VALUE and Long.MAX_VALUE

Generated by Dokka
(c) Tealium 2026