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

Function isJsonSchemaObject

packages/opencode/src/tool/registry.ts:389–391  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

387}
388
389function isJsonSchemaObject(value: unknown): value is Record<string, unknown> {
390 return typeof value === "object" && value !== null && !Array.isArray(value)
391}
392
393export const node = LayerNode.make({
394 service: Service,

Callers 1

zodJsonSchemaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected