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

Method constructor

packages/effect/src/testing/TestSchema.ts:326–332  ·  view source on GitHub ↗
(schema: S, options?: {
    readonly parseOptions?: SchemaAST.ParseOptions | undefined
  })

Source from the content-addressed store, hash-verified

324 readonly parseOptions?: SchemaAST.ParseOptions | undefined
325 } | undefined
326 constructor(schema: S, options?: {
327 readonly parseOptions?: SchemaAST.ParseOptions | undefined
328 }) {
329 this.schema = schema
330 this.decodeUnknownEffect = SchemaParser.decodeUnknownEffect(schema)
331 this.options = options
332 }
333 /**
334 * Asserts that decoding `input` succeeds. With one argument, asserts the
335 * output equals the input. With two arguments, asserts the output equals

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected