Returns a boolean indicating if the function is called from a Node.js REPL environment.
id
repl
boolean indicating if the function is called from a Node.js REPL environment
var bool = isNodeREPL(); // returns <boolean>
Returns a boolean indicating if the function is called from a Node.js REPL environment.
Notes
id
(see repl) as the builtin Node.jsrepl
.