API Reference / @evolu/common / Order
Order
🔢
Type Aliases
Type Alias | Description |
---|---|
Order | Compares two values of type A and returns their ordering. |
Ordering | A type representing the result of an ordering operation. |
Variables
Variable | Description |
---|---|
orderBigInt | An order for bigints in ascending order. |
orderNumber | An order for numbers in ascending order. |
orderString | An order for string values in ascending order. |
orderUint8Array | - |
Functions
Function | Description |
---|---|
createOrder | Creates an ordering function from a "less than" comparator. |
reverseOrder | Returns an order that reverses the order of the given order. |