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

Function isArrayType

apps/sim/executor/utils/block-reference.ts:60–62  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

58}
59
60function isArrayType(value: unknown): value is { type: 'array'; items?: unknown } {
61 return asSchemaNode(value)?.type === 'array'
62}
63
64function getArrayItems(schema: unknown): unknown {
65 return asSchemaNode(schema)?.items

Callers 1

isPathInSchemaFunction · 0.85

Calls 1

asSchemaNodeFunction · 0.85

Tested by

no test coverage detected