API reference@evolu/commonlocal‑first/Storage › getTimestampByIndex

function getTimestampByIndex(
  deps: SqliteDep,
): (
  ownerId: Uint8Array<ArrayBufferLike> &
    Brand<"Length16"> &
    Brand<"IdBytes"> &
    Brand<"OwnerIdBytes">,
  index: number &
    Brand<"NonNaN"> &
    Brand<"Finite"> &
    Brand<"Int"> &
    Brand<"NonNegative">,
) => Uint8Array<ArrayBufferLike> & Brand<"Length16"> & Brand<"TimestampBytes">;

Defined in: packages/common/src/local-first/Storage.ts:1645

Reads the timestamp at a position within an owner's ordered timestamps.