MCPcopy
hub / github.com/openclaw/clawsweeper / rawCommentBody

Function rawCommentBody

src/clawsweeper.ts:3285–3288  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

3283}
3284
3285function rawCommentBody(value: unknown): string {
3286 const body = asRecord(value).body;
3287 return typeof body === "string" ? body : "";
3288}
3289
3290function timestampValueMs(value: unknown): number {
3291 return typeof value === "string" ? Date.parse(value) || 0 : 0;

Calls 1

asRecordFunction · 0.70

Tested by

no test coverage detected