Skip to main content
method Interface.prototype.getPrompt
Interface.prototype.getPrompt(): string
Deprecated

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

Return Type

string

the current prompt string

Back to top