(error: unknown, tag: string)
| 5 | type ConfigIssue = { message: string; path: string[] } |
| 6 | |
| 7 | function isTaggedError(error: unknown, tag: string): error is Record<string, unknown> { |
| 8 | return isRecord(error) && error._tag === tag |
| 9 | } |
| 10 | |
| 11 | function configData(input: unknown, tag: string): Record<string, unknown> | undefined { |
| 12 | if (!isRecord(input)) return undefined |
no test coverage detected