( out: undefined | boolean | Schema.FilterIssue, input?: unknown, options?: SchemaAST.ParseOptions )
| 809 | |
| 810 | /** @internal */ |
| 811 | export function makeSingle( |
| 812 | out: undefined | boolean | Schema.FilterIssue, |
| 813 | input?: unknown, |
| 814 | options?: SchemaAST.ParseOptions |
| 815 | ): Issue | undefined { |
| 816 | if (out === undefined) { |
| 817 | return undefined |
| 818 | } |
| 819 | if (typeof out === "boolean") { |
| 820 | return out ? undefined : new InvalidValue(undefined, input, options) |
| 821 | } |
| 822 | return makeFilterIssue(out, input, options) |
| 823 | } |
| 824 | |
| 825 | /** @internal */ |
| 826 | export function normalizeFilterOutput( |
no test coverage detected