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

Function out

packages/effect/src/SchemaAST.ts:3428–3430  ·  view source on GitHub ↗
(ast: AST)

Source from the content-addressed store, hash-verified

3426/** @internal */
3427export function applyToSelfOrLastLinkEncoding(f: (ast: AST) => AST) {
3428 function out(ast: AST): AST {
3429 return ast.encoding ? replaceEncoding(ast, updateLastLink(ast.encoding, out)) : f(ast)
3430 }
3431 return memoize(out)
3432}
3433

Callers

nothing calls this directly

Calls 3

replaceEncodingFunction · 0.85
updateLastLinkFunction · 0.85
fFunction · 0.50

Tested by

no test coverage detected