API reference › @evolu/common › Type › UInt64
const UInt64: brand(
"UInt64",
BigInt,
(value: bigint) =>
globalThis.BigInt.asUintN(64, value) === value
? ok()
: err<UInt64Error>({ type: "UInt64", value }),
formatUInt64Error,
);
Defined in: packages/common/src/Type.ts:6349
Unsigned 64-bit BigInt.