MCPcopy Index your code
hub / github.com/Effect-TS/effect / getExpected

Function getExpected

packages/effect/src/SchemaAST.ts:3011–3012  ·  view source on GitHub ↗
(ast: Annotated)

Source from the content-addressed store, hash-verified

3009 )
3010
3011const getExpected = (ast: Annotated): Option.Option<string> =>
3012 Option.orElse(getIdentifierAnnotation(ast), () => getOrElseExpected(ast))
3013
3014/** @internal */
3015export const pruneUndefined = (

Callers 11

toStringMethod · 0.85
toStringMethod · 0.85
toStringMethod · 0.85
toStringMethod · 0.85
toStringMethod · 0.85
toStringMethod · 0.85
toStringMethod · 0.85
toStringMethod · 0.85
toStringMethod · 0.85
toStringMethod · 0.85
formatKeywordFunction · 0.85

Calls 2

getIdentifierAnnotationFunction · 0.85
getOrElseExpectedFunction · 0.85

Tested by

no test coverage detected