Skip to content

encodedSchema

encodedSchema<A, I, R>(schema): SchemaClass<I>

Defined in: node_modules/.pnpm/effect@3.14.8/node_modules/effect/dist/dts/Schema.d.ts:215

The encodedSchema function allows you to extract the Encoded portion of a schema, creating a new schema that conforms to the properties defined in the original schema without retaining any refinements or transformations that were applied previously.

Type Parameters

A

I

R

Parameters

schema

Schema<A, I, R>

Returns

SchemaClass<I>

Since

3.10.0