f
printValueDetails(): Promise<string | null>
repl: ReplContext,
argument: string
The whole of a value: a function's entire declaration, body included, or anything else rendered
all the way down rather than summarised to a line. null where there is no such name. What
.view prints.
f
summarizeValue(): Promise<string | null>
repl: ReplContext,
argument: string
Enough to recognise a value by: where it is written, what was written above it, and its
signature. null where this session knows nothing by that name. What .doc prints.
Usage
import * as mod from "lib/commands/repl/value-details.ts";