effect-io-ai

Package: effect
Module: Schema

Schema.encodedSchema

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.

Signature

declare const encodedSchema: <A, I, R>(schema: Schema<A, I, R>) => SchemaClass<I>

Source

Since v3.10.0