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

Function asSchemaNode

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

Source from the content-addressed store, hash-verified

48}
49
50function asSchemaNode(value: unknown): SchemaNode | undefined {
51 if (typeof value !== 'object' || value === null) return undefined
52 return value as SchemaNode
53}
54
55function isFileType(value: unknown): boolean {
56 const node = asSchemaNode(value)

Callers 5

isFileTypeFunction · 0.85
isArrayTypeFunction · 0.85
getArrayItemsFunction · 0.85
getPropertiesFunction · 0.85
isOpaqueSchemaNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected