API reference / @evolu/common / Evolu/Internal / eqTimestamp

Variable: eqTimestamp

const eqTimestamp: Eq<{
  counter: number &
    Brand<"Int"> &
    Brand<"NonNegative"> &
    Brand<"LessThanOrEqualTo65535"> &
    Brand<"Counter">;
  millis: number &
    Brand<"Int"> &
    Brand<"NonNegative"> &
    Brand<`LessThanOrEqualTo${number}`> &
    Brand<"Millis">;
  nodeId: string & Brand<"NodeId">;
}>;

Defined in: packages/common/src/Evolu/Timestamp.ts:129

Equality function for comparing Timestamp.

Was this page helpful?