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

Method getParser

packages/effect/src/SchemaAST.ts:1499–1501  ·  view source on GitHub ↗

@internal

()

Source from the content-addressed store, hash-verified

1497 readonly _tag = "Boolean"
1498 /** @internal */
1499 getParser() {
1500 return fromRefinement(this, Predicate.isBoolean)
1501 }
1502 /** @internal */
1503 getExpected(): string {
1504 return "boolean"

Callers

nothing calls this directly

Calls 1

fromRefinementFunction · 0.85

Tested by

no test coverage detected