MCPcopy
hub / github.com/Effect-TS/effect / char

Function char

packages/printer/src/internal/doc.ts:161–166  ·  view source on GitHub ↗
(char: string)

Source from the content-addressed store, hash-verified

159
160/** @internal */
161export const char = (char: string): Doc.Doc<never> => {
162 const op = Object.create(proto)
163 op._tag = "Char"
164 op.char = char
165 return op
166}
167
168/** @internal */
169export const text = (text: string): Doc.Doc<never> => {

Callers 7

doc.tsFile · 0.70
stringFunction · 0.70
spacesFunction · 0.70
wordsFunction · 0.70
alterAnnotationSafeFunction · 0.70
reAnnotateSafeFunction · 0.70
unAnnotateSafeFunction · 0.70

Calls 1

createMethod · 0.80

Tested by

no test coverage detected