Back to functions

Expression.lte


less than or equals

Checks if one expression is less than, or equal to, other.

Usage: nerdamer(x).lte(y)


Parameters

String x Expression 1
String y Expression 2

Returns

Boolean

EXAMPLES:
var x = nerdamer('sqrt(2)').lte('2^(1/2)');
console.log(x.toString());
var x = nerdamer(5).lte(2);
console.log(x.toString());
var x = nerdamer('a+1').lte('a+1');
console.log(x.toString());
var x = nerdamer('Infinity').lte('Infinity');
console.log(x.toString());
OUTPUT:
Back to functions