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

Function isFileType

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

Source from the content-addressed store, hash-verified

53}
54
55function isFileType(value: unknown): boolean {
56 const node = asSchemaNode(value)
57 return node?.type === 'file' || node?.type === 'file[]'
58}
59
60function isArrayType(value: unknown): value is { type: 'array'; items?: unknown } {
61 return asSchemaNode(value)?.type === 'array'

Callers 1

isPathInSchemaFunction · 0.85

Calls 1

asSchemaNodeFunction · 0.85

Tested by

no test coverage detected