API reference › @evolu/common › Type › Int64
const Int64: brand(
"Int64",
BigInt,
(value: bigint) =>
globalThis.BigInt.asIntN(64, value) === value
? ok()
: err<Int64Error>({ type: "Int64", value }),
formatInt64Error,
);
Defined in: packages/common/src/Type.ts:6323
Signed 64-bit BigInt.