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

Function isRecord

apps/kimi-code/src/tui/goal-queue-store.ts:246–248  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

244}
245
246function isRecord(value: unknown): value is Record<string, unknown> {
247 return typeof value === 'object' && value !== null && !Array.isArray(value);
248}
249
250function isNonEmptyString(value: unknown): value is string {
251 return typeof value === 'string' && value.length > 0;

Callers 3

isGoalQueueFileFunction · 0.70
isUpcomingGoalFunction · 0.70
isErrnoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected