(...values: readonly (string | undefined)[])
| 92 | }; |
| 93 | |
| 94 | const firstNonEmpty = (...values: readonly (string | undefined)[]): string | undefined => |
| 95 | values.find((value) => value !== undefined && value.length > 0); |
| 96 | |
| 97 | export const extractOpenApiUpstreamMessage = (body: unknown, status: number): string => { |
| 98 | if (typeof body === "string") { |
no outgoing calls
no test coverage detected