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

Method getParser

packages/effect/src/SchemaAST.ts:1410–1412  ·  view source on GitHub ↗

@internal

()

Source from the content-addressed store, hash-verified

1408 readonly _tag = "Number"
1409 /** @internal */
1410 getParser() {
1411 return fromRefinement(this, Predicate.isNumber)
1412 }
1413 /** @internal */
1414 matchKey(s: string, options: ParseOptions): number | undefined {
1415 return this._match(isStringNumberRegExp, s, options)

Callers

nothing calls this directly

Calls 1

fromRefinementFunction · 0.85

Tested by

no test coverage detected