Package: effect
Module: Schema
Derives an Iso optic from a schema that isomorphically converts between
the schema’s Type and its Iso (intermediate / serialized form).
Signature
declare const toIso: <S extends Constraint>(schema: S) => Optic_.Iso<S["Type"], S["Iso"]>
Since v4.0.0