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

Method getParser

packages/effect/src/SchemaAST.ts:1599–1601  ·  view source on GitHub ↗

@internal

()

Source from the content-addressed store, hash-verified

1597 readonly _tag = "BigInt"
1598 /** @internal */
1599 getParser() {
1600 return fromRefinement(this, Predicate.isBigInt)
1601 }
1602 /** @internal */
1603 matchPart(s: string, options: ParseOptions): bigint | undefined {
1604 if (!isStringBigIntRegExp.test(s)) return undefined

Callers

nothing calls this directly

Calls 1

fromRefinementFunction · 0.85

Tested by

no test coverage detected