Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.settings/Mappings/ConstantOptions/ifValueEquals

ifValueEquals

abstract fun ifValueEquals(key: String, value: String)

Sets an optional basic condition that the value at the given mapping key needs to match in order for this mapping to take place.

Parameters

key

The key to take the value from when comparing against the expected value

value

The target value that the source key should contain.


abstract fun ifValueEquals(path: JsonObjectPath, value: String)

Sets an optional basic condition that the value at the given mapping path needs to match in order for this mapping to take place, where the path may be found in a configured level of nesting according to the path

Parameters

path

The path to take the value from when comparing against the expected value

value

The target value that the source key should contain.

Generated by Dokka
(c) Tealium 2026