- :integer
compare
compare given values and return -1, 0, or 1 based on the result
Parameters
compare valueA :any valueB :any
Returns
Examples
copycompare 1 2 ; => -1 compare 3 3 ; => 0 compare 4 3 ; => 1
compare valueA :any valueB :any
copycompare 1 2 ; => -1 compare 3 3 ; => 0 compare 4 3 ; => 1