(input: string)
| 63 | * instead of dumping raw text (and newlines) into the line editor. |
| 64 | */ |
| 65 | export function isPasteBurst(input: string): boolean { |
| 66 | if (input.length <= 1) return false; |
| 67 | return input.includes('\n') || input.length >= 12; |
| 68 | } |
| 69 | |
| 70 | export function countLines(s: string): number { |
| 71 | if (s === '') return 0; |
no outgoing calls
no test coverage detected