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

Method constructor

packages/effect/src/Optic.ts:377–380  ·  view source on GitHub ↗
(checks: readonly [SchemaAST.Check<T>, ...Array<SchemaAST.Check<T>>])

Source from the content-addressed store, hash-verified

375 readonly set = identity
376
377 constructor(checks: readonly [SchemaAST.Check<T>, ...Array<SchemaAST.Check<T>>]) {
378 this.checks = checks
379 this.get = (s) => SchemaAST.runChecks(checks, s)
380 }
381}
382
383function compose(a: Node, b: Node): Node {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected