MCPcopy
hub / github.com/prisma/prisma / write

Method write

packages/ts-builders/src/Writer.ts:28–35  ·  view source on GitHub ↗

* Adds provided value to the current line. Does not end the line. * * @param value * @returns

(value: string | BasicBuilder<ContextType>)

Source from the content-addressed store, hash-verified

26 * @returns
27 */
28 write(value: string | BasicBuilder<ContextType>): this {
29 if (typeof value === 'string') {
30 this.currentLine += value
31 } else {
32 value.write(this)
33 }
34 return this
35 }
36
37 /**
38 * Adds several `values` to the current line, separated by `separator`. Both values and separator

Callers 4

prettyPrintArgumentsFunction · 0.95
printTreeFunction · 0.95
writeJoinedMethod · 0.95
writeLineMethod · 0.95

Calls 1

writeMethod · 0.65

Tested by 1

printTreeFunction · 0.76