API Reference / @evolu/common / Order

Order

🔢

Type Aliases

Type AliasDescription
OrderCompares two values of type A and returns their ordering.
OrderingA type representing the result of an ordering operation.

Variables

VariableDescription
orderBigIntAn order for bigints in ascending order.
orderNumberAn order for numbers in ascending order.
orderStringAn order for string values in ascending order.
orderUint8Array-

Functions

FunctionDescription
createOrderCreates an ordering function from a "less than" comparator.
reverseOrderReturns an order that reverses the order of the given order.

Was this page helpful?