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

Function isRecord

packages/oauth/src/utils.ts:1–3  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

1export function isRecord(value: unknown): value is Record<string, unknown> {
2 return typeof value === 'object' && value !== null && !Array.isArray(value);
3}

Callers 15

postFormFunction · 0.90
mergeRefreshedModelAliasFunction · 0.90
extractApiErrorMessageFunction · 0.90
loadMethod · 0.90
parseManagedUsagePayloadFunction · 0.90
toUsageRowFunction · 0.90
toModelInfoFunction · 0.90
canPreserveDefaultModelFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected