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

Method matchPart

packages/effect/src/SchemaAST.ts:1363–1366  ·  view source on GitHub ↗

@internal

(s: string, options: ParseOptions)

Source from the content-addressed store, hash-verified

1361 }
1362 /** @internal */
1363 matchPart(s: string, options: ParseOptions): string | undefined {
1364 const checks = this.checks
1365 return checks && !options.disableChecks && collectIssues(checks, s, undefined, this, options) ? undefined : s
1366 }
1367 /** @internal */
1368 getExpected(): string {
1369 return "string"

Callers

nothing calls this directly

Calls 1

collectIssuesFunction · 0.85

Tested by

no test coverage detected