compare

compare(x, y)

Compare two values. Returns 1 when x > y, -1 when x < y, and 0 when x == y.

Try it yourself:

All functions