compare

compare(x, y)

Try it yourself:

See also:
All functions