Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/esm/runtime.js>isREPL

A JavaScript extension package for building strong and modern applications.
Latest
function isREPL
import { isREPL } from "https://deno.land/x/ayonli_jsext@v0.9.72/esm/runtime.js";

Detects if the program is running in a REPL environment.

NOTE: This function currently returns true when in:

  • Node.js REPL
  • Deno REPL
  • Bun REPL
  • Google Chrome Console