MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / objectFields

Function objectFields

packages/server-e2e/test/log.ts:47–51  ·  view source on GitHub ↗
(value: object)

Source from the content-addressed store, hash-verified

45}
46
47function objectFields(value: object): Record<string, unknown> {
48 return Object.fromEntries(
49 Object.entries(value).filter(([, field]) => field !== undefined),
50 );
51}
52
53function stringifyForLog(value: unknown): string {
54 return JSON.stringify(value, null, 2);

Callers 1

errorForLogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected