• Creates an expression that evaluates whether the result of the first expression is less than or equal to the result of the second expression.

    Use this kind of expression as the if-expression in an ifThenElse, as a when-expression in a cases case expression or anywhere an expression that resolves to a boolean is required.

    Parameters

    • left: Expression<number>

      The first expression to evaluate.

    • right: Expression<number>

      The second expression to evaluate.

    Returns Expression<boolean>

    An expression that evaluates to true if the result of the first expression is less than or equal to the result of the second expression