.doc — where a value is written, what was said above it, and how to call it.
.doc for what it is, .explain for what you want from it, .d for the hand. The whole of it,
body and all, is ../commands/view.ts.
import { command as docCommand } from './doc.ts'; import type { ReplContext } from '../command.ts'; // Defined, not invoked: it writes to a live prompt. function example(repl: ReplContext) { return docCommand.main(repl, 'double'); // where it is written, the comment, the signature }