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

Method getParser

packages/effect/src/SchemaAST.ts:1545–1547  ·  view source on GitHub ↗

@internal

()

Source from the content-addressed store, hash-verified

1543 readonly _tag = "Symbol"
1544 /** @internal */
1545 getParser() {
1546 return fromRefinement(this, Predicate.isSymbol)
1547 }
1548 /** @internal */
1549 matchKey(s: symbol, options: ParseOptions): symbol | undefined {
1550 if (options.disableChecks || !this.checks) return s

Callers

nothing calls this directly

Calls 1

fromRefinementFunction · 0.85

Tested by

no test coverage detected