(screenText: string)
| 20 | } |
| 21 | |
| 22 | export function readVisibleRows(screenText: string): string[] { |
| 23 | return screenText |
| 24 | .split('\n') |
| 25 | .map(row => row.replace(/\s+$/g, '')) |
| 26 | .filter(row => row.trim().length > 0) |
| 27 | } |
| 28 | |
| 29 | export function normalizeVisibleRowContractText(text: string): string { |
| 30 | return text.replace(/\s+/gu, '') |
no outgoing calls