compare
Return true or false by comparing two values using a comparison operation.
Check if the first number is bigger:
g.compare(10, 20, '>');
Check if the first number is smaller:
g.compare(10, 20, '<');
Check for equality:
g.compare(42, 42.0, '==');