MCPcopy Create free account
hub / github.com/Effect-TS/effect / sanitize

Function sanitize

packages/printer/src/internal/doc.ts:854–854  ·  view source on GitHub ↗
(self: Doc.Doc<A>)

Source from the content-addressed store, hash-verified

852
853/** @internal */
854export const sanitize = <A>(self: Doc.Doc<A>): Doc.Doc<A> => Effect.runSync(sanitizeSafe(self))
855
856const sanitizeSafe = <A>(self: Doc.Doc<A>): Effect.Effect<Doc.Doc<A>> => {
857 switch (self._tag) {

Callers

nothing calls this directly

Calls 1

sanitizeSafeFunction · 0.85

Tested by

no test coverage detected