Companion

object Companion

Functions

Link copied to clipboard
fun contains(ignoreCase: Boolean, variable: JsonObjectPath, string: String): Condition
fun contains(ignoreCase: Boolean, variable: String, string: String): Condition

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

Link copied to clipboard
fun doesNotContain(ignoreCase: Boolean, variable: JsonObjectPath, string: String): Condition
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.

Link copied to clipboard
fun doesNotEndWith(ignoreCase: Boolean, variable: JsonObjectPath, suffix: String): Condition
fun doesNotEndWith(ignoreCase: Boolean, variable: String, suffix: String): Condition

Returns an Operator that checks whether the value found at key variable, as a string, does not end with the given suffix.

Link copied to clipboard
fun doesNotEqual(ignoreCase: Boolean, variable: JsonObjectPath, target: String): Condition
fun doesNotEqual(ignoreCase: Boolean, variable: String, target: String): Condition

Returns an Operator that checks whether the value found at key variable is not equal to the given target.

Link copied to clipboard
fun doesNotStartWith(ignoreCase: Boolean, variable: JsonObjectPath, prefix: String): Condition
fun doesNotStartWith(ignoreCase: Boolean, variable: String, prefix: String): Condition

Returns an Operator that checks whether the value found at key variable, as a string, does not start with the given prefix.

Link copied to clipboard
fun endsWith(ignoreCase: Boolean, variable: JsonObjectPath, suffix: String): Condition
fun endsWith(ignoreCase: Boolean, variable: String, suffix: String): Condition

Returns an Operator that checks whether the value found at key variable, as a string, ends with the given suffix.

Link copied to clipboard

Returns an Operator that checks whether a value can be found at key variable.

Link copied to clipboard

Returns an Operator that checks whether a value found at key variable would be considered "empty"

Link copied to clipboard
fun isEqual(ignoreCase: Boolean, variable: JsonObjectPath, target: String): Condition
fun isEqual(ignoreCase: Boolean, variable: String, target: String): Condition

Returns an Operator that checks whether the value found at key variable is equal to the given target.

Link copied to clipboard
fun isGreaterThan(orEqual: Boolean, variable: JsonObjectPath, number: String): Condition
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.

Link copied to clipboard
fun isLessThan(orEqual: Boolean, variable: JsonObjectPath, number: String): Condition
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.

Link copied to clipboard

Returns an Operator that checks whether a value can not be found at key variable.

Link copied to clipboard

Returns an Operator that checks whether a value found at key variable would be considered "not empty"

Link copied to clipboard

Returns an Operator that checks whether the value found at key variable, is matched by the given regex string.

Link copied to clipboard
fun startsWith(ignoreCase: Boolean, variable: JsonObjectPath, prefix: String): Condition
fun startsWith(ignoreCase: Boolean, variable: String, prefix: String): Condition

Returns an Operator that checks whether the value found at key variable, as a string, starts with the given prefix.