betweenIn method

Expr betweenIn(
  1. Object a,
  2. Object b
)

Create a predicate that checks if this expression is greater or equal to a and less than or equal to b.

Implementation

Expr betweenIn(Object a, Object b) => and(ge(this, $(a)), le(this, $(b)));