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

apply

abstract fun apply(dataItem: DataItem?, filter: StringContainer?): Boolean

Called to determine if the given dataItem matches the filter for this Operator.

If the dataItem is null, then the variable was not available in the payload.

Return

true if the dataItem matches the target filter for this Operator

Parameters

dataItem

The DataItem to apply the operator to.

filter

The target value to check if the dataItem matches

Throws

OperatorFailedException

when the Operator cannot be evaluated successfully.

Generated by Dokka
(c) Tealium 2026