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

mapValuesNotNull

inline fun <T> DataObject.mapValuesNotNull(transform: (DataItem) -> T?): Map<String, T>

Maps the Map.Entry.value component only, keeping the Map.Entry.key the same.

null values returned by the transform are dropped from the returned Map.

Generated by Dokka
(c) Tealium 2026