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

Function isRecord

apps/vis/server/src/lib/task-store.ts:232–234  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

230}
231
232function isRecord(value: unknown): value is Record<string, unknown> {
233 return typeof value === 'object' && value !== null;
234}
235
236function optionalNonEmptyString(value: unknown): string | undefined {
237 if (typeof value !== 'string') return undefined;

Callers 1

isReadablePersistedTaskFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected