public static boolean leq()

in src/main/java/org/apache/sling/scripting/sightly/compiler/expression/nodes/BinaryOperator.java [215:222]


    public static boolean leq(final Object left, final Object right) {
        if (left instanceof Number && right instanceof Number) {
            return ((Number) left).doubleValue() <= ((Number) right).doubleValue();
        }
        throw new SightlyCompilerException(
                "Operands are not of the same type: comparison is supported for Number types only."
                        + "Operands are: leftOperand=" + left + ", rightOperand=" + right);
    }