MCPcopy Create free account
hub / github.com/effect-app/libs / constructor

Method constructor

repos/effect/packages/effect/src/SchemaAST.ts:1976–1990  ·  view source on GitHub ↗
(
    parameter: AST,
    type: AST,
    merge: KeyValueCombiner | undefined
  )

Source from the content-addressed store, hash-verified

1974 * @category constructors
1975 * @since 4.0.0
1976 */
1977export const Boolean: new(
1978 annotations?: Schema.Annotations.Annotations | undefined,
1979 checks?: Checks | undefined,
1980 encoding?: Encoding | undefined,
1981 context?: Context | undefined
1982) => Boolean = class extends ASTNodeImpl {
1983 readonly _tag = "Boolean"
1984 /** @internal */
1985 getParser() {
1986 return fromRefinement(this, Predicate.isBoolean)
1987 }
1988 /** @internal */
1989 getExpected(): string {
1990 return "boolean"
1991 }
1992}
1993

Callers

nothing calls this directly

Calls 3

isOptionalFunction · 0.85
containsUndefinedFunction · 0.85

Tested by

no test coverage detected