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

Function getContextOwner

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

Source from the content-addressed store, hash-verified

3337
3338/** @internal */
3339export function getContextOwner(ast: AST): AST {
3340 return contextOwners.get(ast) ?? ast
3341}
3342
3343/** @internal */
3344export function replaceEncoding<A extends AST>(ast: A, encoding: Encoding | undefined): A {

Callers 1

replaceContextFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected