Optional
zio.blocks.schema.comptime.Allows.Optional
sealed abstract class Optional[A <: Structural] extends Structural
Matches Option[A] where the inner type satisfies A. Option is handled as a dedicated grammar node rather than being auto-unwrapped as a two-case sealed trait.
Type parameters
- A
-
The constraint that the inner (unwrapped) type of the
Optionmust satisfy.
Attributes
- Source
- Allows.scala
- Graph
-
- Supertypes
In this article