Functions

f
inspect(
value: unknown,
depth?: number,
color?: boolean
): string

Renders a value the way the REPL prints it.

Usage

import * as mod from "lib/repl/inspect.ts";