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

Function appendChecks

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

Source from the content-addressed store, hash-verified

3397
3398/** @internal */
3399export function appendChecks<A extends AST>(ast: A, checks: Checks | undefined): A {
3400 return replaceChecks(ast, combineChecks(ast.checks, checks))
3401}
3402
3403/** @internal */
3404export function mapLink(link: Link, f: (ast: AST) => AST): Link {

Callers 2

numberToJsonFunction · 0.70
SchemaAST.tsFile · 0.70

Calls 2

replaceChecksFunction · 0.85
combineChecksFunction · 0.70

Tested by

no test coverage detected