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

Function resolve

packages/effect/src/internal/schema/annotations.ts:6–8  ·  view source on GitHub ↗
(ast: SchemaAST.AST)

Source from the content-addressed store, hash-verified

4
5/** @internal */
6export function resolve(ast: SchemaAST.AST): Schema.Annotations.Annotations | undefined {
7 return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations
8}
9
10/** @internal */
11export function resolveAt<A>(key: string) {

Callers 3

resolveAtFunction · 0.70
annotations.tsFile · 0.70
effect.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected