(outputs: unknown[], options?: ExtractOutputTextOptions)
| 57 | * Joins non-null results with newlines. |
| 58 | */ |
| 59 | export function extractOutputsText(outputs: unknown[], options?: ExtractOutputTextOptions): string { |
| 60 | const texts: string[] = [] |
| 61 | for (const output of outputs) { |
| 62 | const text = extractOutputText(output, options) |
| 63 | if (text != null) texts.push(text) |
| 64 | } |
| 65 | return texts.join('\n') |
| 66 | } |
no test coverage detected