MCPcopy
hub / github.com/colinhacks/zod / indented

Method indented

packages/zod/src/v4/core/doc.ts:12–16  ·  view source on GitHub ↗
(fn: (doc: Doc) => void)

Source from the content-addressed store, hash-verified

10 }
11
12 indented(fn: (doc: Doc) => void) {
13 this.indent += 1;
14 fn(this);
15 this.indent -= 1;
16 }
17
18 write(fn: ModeWriter): void;
19 write(line: string): void;

Callers

nothing calls this directly

Calls 1

fnFunction · 0.85

Tested by

no test coverage detected