Skip to main content
ReplOptions.eval - repl - Node documentation
property ReplOptions.eval

Usage in Deno

import { type ReplOptions } from "node:repl";

The function to be used when evaluating each given line of input. Default: an async wrapper for the JavaScript eval() function. An eval function can error with repl.Recoverable to indicate the input was incomplete and prompt for additional lines.

Type

REPLEval | undefined

See

Back to top