Skip to main content

getPrompt

method Interface.prototype.getPrompt
Jump to headingInterface.prototype.getPrompt(): string

The rl.getPrompt() method returns the current prompt used by rl.prompt().

Return Type Jump to heading

string

the current prompt string

Back to top