gt()
Usage
gt(val1, val2)
Description
Returns a boolean value that indicates whether the numerical value val1 is greater than the numerical value val2. This method tries to convert its parameter objects into numerical values, i.e. you can compare strings numerically. It is often used in conjunction with size()
to determine if a collection is empty or not.
Example
${gt(1, 2)}
results in
false