MCPcopy Index your code
hub / github.com/BlockRunAI/ClawRouter / asRecord

Function asRecord

test/test-e2e.ts:168–170  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

166}
167
168function asRecord(value: unknown): Record<string, unknown> {
169 return value && typeof value === "object" ? (value as Record<string, unknown>) : {};
170}
171
172function getLastUserContent(messages: unknown): string {
173 if (!Array.isArray(messages)) return "";

Callers 4

getLastUserContentFunction · 0.85
startMockUpstreamFunction · 0.85
runLocalSuiteFunction · 0.85
runLiveSuiteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected