(input: string)
| 44 | } |
| 45 | |
| 46 | export function isExitCommand(input: string): boolean { |
| 47 | const text = input.trim().toLowerCase() |
| 48 | return text === "/exit" || text === "/quit" || text === ":q" |
| 49 | } |
| 50 | |
| 51 | export function isNewCommand(input: string): boolean { |
| 52 | return input.trim().toLowerCase() === "/new" |
no outgoing calls
no test coverage detected