Back to functions

Expression.gte


greater than or equals

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

Usage: nerdamer(x).gte(y)


Parameters

String x Expression 1
String y Expression 2

Returns

Boolean

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