MCPcopy
hub / github.com/simstudioai/sim / lastRowContent

Function lastRowContent

apps/sim/lib/copilot/chat/messages-store.test.ts:50–52  ·  view source on GitHub ↗

The persisted `content` of the most recently inserted row at `index`.

(index: number)

Source from the content-addressed store, hash-verified

48
49/** The persisted `content` of the most recently inserted row at `index`. */
50function lastRowContent(index: number): PersistedMessage {
51 return lastValuesRows()[index].content as PersistedMessage
52}
53
54/** The first arg passed to the most recent `.values(...)` call. */
55function lastValuesRows() {

Callers 1

Calls 1

lastValuesRowsFunction · 0.85

Tested by

no test coverage detected