MCPcopy Create free account
hub / github.com/effect-app/libs / transform

Function transform

repos/effect/packages/effect/src/SchemaGetter.ts:499–501  ·  view source on GitHub ↗
(f: (e: E) => T)

Source from the content-addressed store, hash-verified

497 * - Skips `None` inputs — only called when a value is present.
498 * - Never fails.
499 *
500 * **Example** (Transforming strings to numbers)
501 *
502 * ```ts import.meta.vitest
503 * import { Schema, SchemaGetter } from "effect"
504 *

Callers 15

StringFunction · 0.70
NumberFunction · 0.70
BooleanFunction · 0.70
BigIntFunction · 0.70
DateFunction · 0.70
trimFunction · 0.70
capitalizeFunction · 0.70
uncapitalizeFunction · 0.70
snakeToCamelFunction · 0.70
camelToSnakeFunction · 0.70
toLowerCaseFunction · 0.70
toUpperCaseFunction · 0.70

Calls 2

transformOptionalFunction · 0.70
mapMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…