MCPcopy Index your code
hub / github.com/markdoc/markdoc / formatFunction

Function formatFunction

src/formatter.ts:117–122  ·  view source on GitHub ↗
(f: Function)

Source from the content-addressed store, hash-verified

115}
116
117function* formatFunction(f: Function) {
118 yield f.name;
119 yield '(';
120 yield Object.values(f.parameters).map(formatScalar).join(SEP);
121 yield ')';
122}
123
124function* trimStart(g: Generator<string>) {
125 let n;

Callers 1

formatValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…