Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.rules/Condition/Companion/doesNotContain

doesNotContain

@JvmStatic
fun doesNotContain(ignoreCase: Boolean, variable: String, string: String): Condition

Returns an Operator that checks whether the value found at key variable, as a string, does not contain the string within it.

Parameters

ignoreCase

true if the comparison should be done in a case-insensitive way; else false

variable

the key to extract the value from for the comparison

string

the target value to check against


@JvmStatic
fun doesNotContain(ignoreCase: Boolean, variable: JsonObjectPath, string: String): Condition

Returns an Operator that checks whether the value found at key variable, as a string, does not contain the string within it.

Parameters

ignoreCase

true if the comparison should be done in a case-insensitive way; else false

variable

the path to the key to extract the value from for the comparison

string

the target value to check against

Generated by Dokka
(c) Tealium 2026