method Interface.prototype.setPrompt
Jump to headingInterface.prototype.setPrompt(prompt: string): void
The rl.setPrompt()
method sets the prompt that will be written to output
whenever rl.prompt()
is called.
Parameters Jump to heading
Jump to headingprompt: string
Return Type Jump to heading
void