MCPcopy Create free account
hub / github.com/anomalyco/opencode / isRecord

Function isRecord

packages/opencode/script/schema.ts:64–66  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

62}
63
64function isRecord(value: unknown): value is JsonSchema {
65 return typeof value === "object" && value !== null && !Array.isArray(value)
66}
67
68const configFile = process.argv[2]
69const tuiFile = process.argv[3]

Callers 3

generateEffectFunction · 0.70
normalizeFunction · 0.70
restoreModelRefsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected