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

Function fromFormData

packages/effect/src/Schema.ts:12720–12722  ·  view source on GitHub ↗
(schema: S)

Source from the content-addressed store, hash-verified

12718 * @since 4.0.0
12719 */
12720export function fromFormData<S extends Constraint>(schema: S): fromFormData<S> {
12721 return FormData.pipe(decodeTo(schema, SchemaTransformation.fromFormData))
12722}
12723
12724/**
12725 * Type-level representation of {@link URLSearchParams}.

Callers

nothing calls this directly

Calls 2

decodeToFunction · 0.70
pipeMethod · 0.65

Tested by

no test coverage detected