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

Function asRecord

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

Source from the content-addressed store, hash-verified

2183}
2184
2185function asRecord(value: unknown): Record<string, unknown> {
2186 return value && typeof value === "object" ? (value as Record<string, unknown>) : {};
2187}
2188
2189function requireRecord(value: unknown, path: string): Record<string, unknown> {
2190 if (!value || typeof value !== "object" || Array.isArray(value))

Callers 15

loginFunction · 0.70
labelNamesFunction · 0.70
compactIssueFunction · 0.70
compactCommentFunction · 0.70
rawCommentBodyFunction · 0.70
commentTimestampMsFunction · 0.70
isClawSweeperCommentFunction · 0.70
compactTimelineEventFunction · 0.70
compactPullRequestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected