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

Method matchKey

packages/effect/src/SchemaAST.ts:1414–1416  ·  view source on GitHub ↗

@internal

(s: string, options: ParseOptions)

Source from the content-addressed store, hash-verified

1412 }
1413 /** @internal */
1414 matchKey(s: string, options: ParseOptions): number | undefined {
1415 return this._match(isStringNumberRegExp, s, options)
1416 }
1417 /** @internal */
1418 matchPart(s: string, options: ParseOptions): number | undefined {
1419 return this._match(isStringFiniteRegExp, s, options)

Callers 1

goFunction · 0.45

Calls 1

_matchMethod · 0.95

Tested by

no test coverage detected