Int compare(any x, any y)
Arguments
x: The first value to comparey: The second value to compare
Usage
Compare any two values of the same type. Returns 0 if they are equal, less than zero if x is smaller, or greater than zero if x is bigger.
x: The first value to comparey: The second value to compareCompare any two values of the same type. Returns 0 if they are equal, less than zero if x is smaller, or greater than zero if x is bigger.