isGreaterThan

fun isGreaterThan(orEqual: Boolean, variable: String, number: String): Condition

Returns an Operator that checks whether the numeric value found at key variable, is greater 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


fun isGreaterThan(orEqual: Boolean, variable: JsonObjectPath, number: String): Condition

Returns an Operator that checks whether the numeric value found at key variable, is greater 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