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

Function passthroughSubtype

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

Source from the content-addressed store, hash-verified

312 */
313export function passthroughSubtype<T, E extends T>(): Getter<T, E>
314export function passthroughSubtype<T>(): Getter<T, T> {
315 return passthrough_
316}
317
318/**
319 * Creates a getter that handles the case when the input is absent (`Option.None`).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected