Package: effect
Module: Schema
Iso representation used for Option schemas.
Details
None is represented as { _tag: "None" }, while Some is represented as
{ _tag: "Some", value } using the wrapped schema’s Iso type.
Signature
type OptionIso<A> = | { readonly _tag: "None" }
| { readonly _tag: "Some"; readonly value: A["Iso"] }
Since v4.0.0