MCPcopy Create free account
hub / github.com/effect-app/libs / getParser

Method getParser

repos/effect/packages/effect/src/SchemaAST.ts:2857–2859  ·  view source on GitHub ↗

@internal

(recur: (ast: AST) => SchemaParser.Parser)

Source from the content-addressed store, hash-verified

2855 return index
2856}
2857
2858function filterLiterals(input: any) {
2859 return (ast: AST) => {
2860 const encoded = toCandidate(ast)
2861 return encoded._tag === "Literal" ?
2862 encoded.literal === input

Callers

nothing calls this directly

Calls 1

recurFunction · 0.70

Tested by

no test coverage detected