(input: string)
| 21 | } |
| 22 | |
| 23 | export function getValueFromInput(input: string): string { |
| 24 | const mode = getModeFromInput(input) |
| 25 | if (mode === 'prompt') { |
| 26 | return input |
| 27 | } |
| 28 | return input.slice(1) |
| 29 | } |
| 30 | |
| 31 | export function isInputModeCharacter(input: string): boolean { |
| 32 | return input === '!' |
no test coverage detected