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

Function resolveAt

packages/effect/src/internal/schema/annotations.ts:11–13  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

9
10/** @internal */
11export function resolveAt<A>(key: string) {
12 return (ast: SchemaAST.AST): A | undefined => resolve(ast)?.[key] as A | undefined
13}
14
15/** @internal */
16export const STRUCTURAL_ANNOTATION_KEY = "~structural"

Callers 1

annotations.tsFile · 0.85

Calls 1

resolveFunction · 0.70

Tested by

no test coverage detected