For comparison functions

A comparison function returns:

a < b

a > b

a

b

Comparison functions are transitive: a < b and b < c => a < c

a < b and b < c => a < c

They also satisfy: a < b <=> b > a and a = b <=> b = a

a < b <=> b > a

a = b <=> b = a

Since 1.6.0

Generated using TypeDoc

For comparison functions

A comparison function returns:

`a < b`

`a > b`

`a`

and`b`

are equivalentComparison functions are transitive:

`a < b and b < c => a < c`

They also satisfy:

`a < b <=> b > a`

and`a = b <=> b = a`