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

Function run

packages/effect/src/SchemaParser.ts:924–926  ·  view source on GitHub ↗
(ast: SchemaAST.AST)

Source from the content-addressed store, hash-verified

922
923/** @internal */
924export function run<T, R>(ast: SchemaAST.AST) {
925 return runWithCompiler<T, R>(normalCompiler, ast)
926}
927
928function runWithCompiler<T, R>(compiler: Compiler, ast: SchemaAST.AST) {
929 let parser: Parser

Callers 5

_isFunction · 0.70
_issueFunction · 0.70
assertsFunction · 0.70
decodeUnknownEffectFunction · 0.70
encodeUnknownEffectFunction · 0.70

Calls 1

runWithCompilerFunction · 0.85

Tested by

no test coverage detected