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

Method getParser

packages/effect/src/SchemaAST.ts:1359–1361  ·  view source on GitHub ↗

@internal

()

Source from the content-addressed store, hash-verified

1357 readonly _tag = "String"
1358 /** @internal */
1359 getParser() {
1360 return fromRefinement(this, Predicate.isString)
1361 }
1362 /** @internal */
1363 matchPart(s: string, options: ParseOptions): string | undefined {
1364 const checks = this.checks

Callers

nothing calls this directly

Calls 1

fromRefinementFunction · 0.85

Tested by

no test coverage detected