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

Method matchKey

packages/effect/src/SchemaAST.ts:1549–1552  ·  view source on GitHub ↗

@internal

(s: symbol, options: ParseOptions)

Source from the content-addressed store, hash-verified

1547 }
1548 /** @internal */
1549 matchKey(s: symbol, options: ParseOptions): symbol | undefined {
1550 if (options.disableChecks || !this.checks) return s
1551 return collectIssues(this.checks, s, undefined, this, options) ? undefined : s
1552 }
1553 /** @internal */
1554 toCodecStringTree(): AST {
1555 return replaceEncoding(this, [symbolToString])

Callers

nothing calls this directly

Calls 1

collectIssuesFunction · 0.85

Tested by

no test coverage detected