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

Function appendChecks

packages/effect/src/SchemaAST.ts:4421–4423  ·  view source on GitHub ↗
(ast: A, checks: Checks | undefined)

Source from the content-addressed store, hash-verified

4419
4420/** @internal */
4421export function appendChecks<A extends AST>(ast: A, checks: Checks | undefined): A {
4422 return replaceChecks(ast, combineChecks(ast.checks, checks))
4423}
4424
4425/** @internal */
4426export function mapLink(link: Link, f: (ast: AST) => AST): Link {

Callers 1

SchemaAST.tsFile · 0.70

Calls 2

replaceChecksFunction · 0.85
combineChecksFunction · 0.70

Tested by

no test coverage detected