Checks if value is greater than other.
value
other
The value to compare.
The other value to compare.
Returns true if value is greater than other, else false.
true
false
5.7.0
[[gte]], [[lt]], [[lte]]
gt(3, 1)// => truegt(3, 3)// => falsegt(1, 3)// => false Copy
gt(3, 1)// => truegt(3, 3)// => falsegt(1, 3)// => false
Checks if
value
is greater thanother
.