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

Function replaceContextLastLink

packages/effect/src/SchemaAST.ts:3422–3424  ·  view source on GitHub ↗
(ast: A, context: Context)

Source from the content-addressed store, hash-verified

3420
3421/** @internal */
3422export function replaceContextLastLink<A extends AST>(ast: A, context: Context): A {
3423 return applyToLastLink((ast) => replaceContext(ast, context))(ast)
3424}
3425
3426/** @internal */
3427export function applyToSelfOrLastLinkEncoding(f: (ast: AST) => AST) {

Callers

nothing calls this directly

Calls 2

applyToLastLinkFunction · 0.85
replaceContextFunction · 0.85

Tested by

no test coverage detected