Function: isExitPromptError()
function isExitPromptError(error): boolean;
Defined in: tui/promptErrors.ts:2
True for the error @inquirer/prompts throws when the user cancels (Ctrl+C) a prompt.
Parameters
| Parameter | Type |
|---|---|
error | unknown |
Returns
boolean