open class OperatorBetween : Operator
Represents the between operator. The left operand to between must be a single value and the right operand must be a list - this operator returns true if the left operand is between (using the registered comparator) the two elements in the list. The definition of between being inclusive follows the SQL BETWEEN definition.
Author
Andy Clement
Since
3.0
OperatorBetween(pos: Int, vararg operands: SpelNodeImpl) |
open fun getValueInternal(state: ExpressionState): BooleanTypedValue
Returns a boolean based on whether a value is in the range expressed. The first operand is any value whilst the second is a list of two values - those two values being the bounds allowed for the first operand (inclusive). |