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

isLessThan

@JvmStatic
fun isLessThan(orEqual: Boolean, variable: String, number: String): Condition

Returns an Operator that checks whether the numeric value found at key variable, is less than the numeric value given by number.

Parameters

orEqual

true if numbers can also be equal; else false

variable

the key to extract the value from for the comparison

number

the target value to check against


@JvmStatic
fun isLessThan(orEqual: Boolean, variable: JsonObjectPath, number: String): Condition

Returns an Operator that checks whether the numeric value found at key variable, is less than the numeric value given by number.

Parameters

orEqual

true if numbers can also be equal; else false

variable

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

number

the target value to check against

Generated by Dokka
(c) Tealium 2026