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

INT

val INT: DataItemConverter<Int>

A lenient converter to Int values.

This converter attempts the following conversions in order:

  1. Direct extraction as Int

  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 Int.MIN_VALUE and Int.MAX_VALUE

Generated by Dokka
(c) Tealium 2026