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

Function transformEffect

packages/effect/src/SchemaGetter.ts:763–767  ·  view source on GitHub ↗
(
  f: (e: E, options: SchemaAST.ParseOptions) => Effect.Effect<T, SchemaIssue.Issue, R>
)

Source from the content-addressed store, hash-verified

761 * @since 4.0.0
762 */
763export function transformEffect<T, E, R = never>(
764 f: (e: E, options: SchemaAST.ParseOptions) => Effect.Effect<T, SchemaIssue.Issue, R>
765): Getter<T, E, R> {
766 return makeGetter({ _tag: "TransformEffect", transform: f })
767}
768
769/**
770 * Creates a getter that transforms the full `Option` — both present and absent values.

Callers 14

SchemaGetter.tsFile · 0.70
checkEffectFunction · 0.70
BigIntFunction · 0.70
parseJsonFunction · 0.70
stringifyJsonFunction · 0.70
decodeBase64Function · 0.70
decodeBase64StringFunction · 0.70
decodeBase64UrlFunction · 0.70
decodeBase64UrlStringFunction · 0.70
decodeHexFunction · 0.70
decodeHexStringFunction · 0.70

Calls 1

makeGetterFunction · 0.85

Tested by

no test coverage detected