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

Function passthrough

packages/effect/src/SchemaGetter.ts:248–250  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

246export function passthrough<T, E>(options: { readonly strict: false }): Getter<T, E>
247export function passthrough<T>(): Getter<T, T>
248export function passthrough<T>(): Getter<T, T> {
249 return passthrough_
250}
251
252/**
253 * Returns the identity getter typed for the relationship `T extends E`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected