Specifies a bound of a range.
A function type that takes T
and returns a CompareResult.
One of zero, one, or negative one.
A function type that takes two of a type T
and returns a CompareResult.
Turns a number into a CompareResult.
If it is greater than 0, it will
become 1. If it is less then 0, it will become -1. If the input is
violating type constraints and is not a number, an error will be thrown.
The number to transform
-1
if n<0
, 0
if n==0
, 1
if n>0
Generated using TypeDoc
Several useful things for doing comparisons and sorting data.
Nathan Pennie kb1rd@kb1rd.net