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

Function constructor

packages/effect/src/SchemaAST.ts:644–654  ·  view source on GitHub ↗
(
    annotations: Schema.Annotations.Annotations | undefined = undefined,
    checks: Checks | undefined = undefined,
    encoding: Encoding | undefined = undefined,
    context: Context | undefined = undefined
  )

Source from the content-addressed store, hash-verified

642 readonly context: Context | undefined
643
644 constructor(
645 annotations: Schema.Annotations.Annotations | undefined = undefined,
646 checks: Checks | undefined = undefined,
647 encoding: Encoding | undefined = undefined,
648 context: Context | undefined = undefined
649 ) {
650 this.annotations = annotations
651 this.checks = checks
652 this.encoding = encoding
653 this.context = context
654 }
655 toString() {
656 return `<${this._tag}>`
657 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected