Checks if the specified value is within the allowed range. @param item value to check @return result of check @throws QueryException query exception
(final Item item)
| 157 | * @throws QueryException query exception |
| 158 | */ |
| 159 | private boolean inRange(final Item item) throws QueryException { |
| 160 | final double value = item.dbl(info); |
| 161 | return value >= min && value <= max && value == (long) value; |
| 162 | } |
| 163 | |
| 164 | @Override |
| 165 | public Expr mergeEbv(final Expr ex, final boolean or, final CompileContext cc) |