From df6dc753b76cb27b6298f287dbf9a00d5292bddf Mon Sep 17 00:00:00 2001 From: Aviv Keller Date: Sun, 22 Sep 2024 15:08:53 -0400 Subject: [PATCH] doc: remove `parseREPLKeyword` from REPL documentation PR-URL: https://github.com/nodejs/node/pull/54749 Reviewed-By: Luigi Pinca --- doc/api/repl.md | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/doc/api/repl.md b/doc/api/repl.md index 89d02ff7eeba60..8d00cdeed3916a 100644 --- a/doc/api/repl.md +++ b/doc/api/repl.md @@ -534,22 +534,6 @@ buffered but not yet executed. This method is primarily intended to be called from within the action function for commands registered using the `replServer.defineCommand()` method. -### `replServer.parseREPLKeyword(keyword[, rest])` - - - -> Stability: 0 - Deprecated. - -* `keyword` {string} the potential keyword to parse and execute -* `rest` {any} any parameters to the keyword command -* Returns: {boolean} - -An internal method used to parse and execute `REPLServer` keywords. -Returns `true` if `keyword` is a valid keyword, otherwise `false`. - ### `replServer.setupHistory(historyPath, callback)`