Back to functions

Expression.lt


less than or equals

Checks if one expression is less than other.

Usage: nerdamer(x).lt(y)


Parameters

String x Expression 1
String y Expression 2

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