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