deno.com
method Interface.prototype.setPrompt
#Interface.prototype.setPrompt(prompt: string): void

The rl.setPrompt() method sets the prompt that will be written to output whenever rl.prompt() is called.

Parameters #

#prompt: string

Return Type #

void