MCPcopy Index your code
hub / github.com/simstudioai/sim / getArrayItems

Function getArrayItems

apps/sim/executor/utils/block-reference.ts:64–66  ·  view source on GitHub ↗
(schema: unknown)

Source from the content-addressed store, hash-verified

62}
63
64function getArrayItems(schema: unknown): unknown {
65 return asSchemaNode(schema)?.items
66}
67
68function getProperties(schema: unknown): Record<string, unknown> | undefined {
69 const props = asSchemaNode(schema)?.properties

Callers 1

isPathInSchemaFunction · 0.85

Calls 1

asSchemaNodeFunction · 0.85

Tested by

no test coverage detected