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

Function passthrough

packages/effect/src/SchemaTransformation.ts:716–718  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

714export function passthrough<T, E>(options: { readonly strict: false }): Transformation<T, E>
715export function passthrough<T>(): Transformation<T, T>
716export function passthrough<T>(): Transformation<T, T> {
717 return passthrough_
718}
719
720/**
721 * Transforms values without changing them, typed so that `T extends E`, where the decoded

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected