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

Function passthroughSubtype

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

Source from the content-addressed store, hash-verified

782 */
783export function passthroughSubtype<T, E extends T>(): Transformation<T, E>
784export function passthroughSubtype<T>(): Transformation<T, T> {
785 return passthrough_
786}
787
788/**
789 * Decodes a `string` into a `number` and encodes a `number` back to a

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected