Ordering
Ordering<
A> = (a,b) =>number
Defined in: Core/Ordering.ts:17
A function that orders two values of type A. Returns a negative number when a comes before
b, a positive number when a comes after b, and 0 when they are equal.
Compatible with Array.prototype.sort and Arr.sortWith.
Type Parameters
Section titled “Type Parameters”A
Parameters
Section titled “Parameters”A
A
Returns
Section titled “Returns”number