MCPcopy Index your code
hub / github.com/microsoft/TypeChat / append

Function append

typescript/src/zod/validate.ts:110–116  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

108 return result;
109
110 function append(s: string) {
111 if (startOfLine) {
112 result += " ".repeat(indent);
113 startOfLine = false;
114 }
115 result += s;
116 }
117
118 function appendNewLine() {
119 append("\n");

Callers 10

getZodSchemaAsTypeScriptFunction · 0.85
appendNewLineFunction · 0.85
appendTypeFunction · 0.85
appendTypeDefinitionFunction · 0.85
appendArrayTypeFunction · 0.85
appendObjectTypeFunction · 0.85
appendTupleTypeFunction · 0.85
appendRecordTypeFunction · 0.85
appendReadonlyTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected