(value: string, width: number)
| 313 | } |
| 314 | |
| 315 | function normalizeRow(value: string, width: number): string[] { |
| 316 | return [...value.padEnd(width, ' ').slice(0, width)] |
| 317 | } |
| 318 | |
| 319 | function clamp(value: number, min: number, max: number): number { |
| 320 | return Math.min(Math.max(value, min), max) |
no outgoing calls
no test coverage detected