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

Function isRecord

apps/kimi-code/src/cli/sub/doctor.ts:314–316  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

312}
313
314function isRecord(value: unknown): value is Record<string, unknown> {
315 return typeof value === 'object' && value !== null;
316}
317
318function findZodError(error: unknown): z.ZodError | undefined {
319 if (error instanceof z.ZodError) return error;

Callers 2

findValidationIssuesFunction · 0.70
isValidationIssueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected