Skip to content

typeSchema

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

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

The typeSchema function allows you to extract the Type portion of a schema, creating a new schema that conforms to the properties defined in the original schema without considering the initial encoding or transformation processes.

Type Parameters

A

I

R

Parameters

schema

Schema<A, I, R>

Returns

SchemaClass<A>

Since

3.10.0