API reference › @evolu/common › Order › orderBigInt
const orderBigInt: Order<bigint>;
Defined in: packages/common/src/Order.ts:105
An order for bigints in ascending order.
Example
import { assertEqual, orderBigInt } from "@evolu/common";
assertEqual([2n, 1n, 3n].toSorted(orderBigInt), [1n, 2n, 3n]);