renderExamples function ✓ 100.0%
Last updated: 2026-03-01T23:25:47.071Z
Metrics
LOC: 5
Complexity: 1
Params: 1
Coverage: 100.0% (2/2 lines, 74x executed)
Signature
renderExamples(examples: readonly PromptExample[]): : string
Source Code
function renderExamples(examples: readonly PromptExample[]): string {
return examples
.map((ex) => `Input: ${ex.input}\nOutput: ${ex.output}`)
.join("\n\n");
}
No outgoing dependencies.
Impact (Incoming)
| Source | Type |
|---|---|
| renderPromptBase | calls |