effect-io-ai

Package: effect
Module: Schema

Schema.toCodecIso

Derives an isomorphism codec from a schema. The encoded form is the schema’s Iso type — the intermediate representation used for round-tripping.

Signature

declare const toCodecIso: <S extends Constraint>(schema: S) => Codec<S["Type"], S["Iso"]>

Source

Since v4.0.0