zio.prelude.data.Optional
See theOptional companion object
Custom option type to be used for wrapping external data models where most of the fields are defined to be optional.
Instances of Optional are either Optional.Present or Optional.Absent.
The only difference between this type and scala.Option is that there is an implicit conversion defined from A`` toOptional[A], and fromOption[A]`` to Optional[A].
Attributes
- Companion
- object
- Source
- Optional.scala
- Graph
-
- Supertypes
- Known subtypes
- Self type
-
Optional[A]
Members list
Type members
Classlikes
Attributes
- Source
- Optional.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Abstract methods
Attributes
- Source
- Optional.scala
Attributes
- Source
- Optional.scala
Attributes
- Source
- Optional.scala
Concrete methods
Attributes
- Source
- Optional.scala
Attributes
- Source
- Optional.scala
Attributes
- Source
- Optional.scala
Attributes
- Source
- Optional.scala
Attributes
- Source
- Optional.scala
Attributes
- Source
- Optional.scala
Attributes
- Source
- Optional.scala
Attributes
- Source
- Optional.scala
Attributes
- Source
- Optional.scala
Attributes
- Source
- Optional.scala
Attributes
- Source
- Optional.scala
Attributes
- Definition Classes
- Source
- Optional.scala
Copied from Option.knownSize
Attributes
- Source
- Optional.scala
Attributes
- Source
- Optional.scala
Attributes
- Source
- Optional.scala
Attributes
- Source
- Optional.scala
Attributes
- Source
- Optional.scala
Converts this optional value to standard scala.Option
Attributes
- Source
- Optional.scala
Attributes
- Source
- Optional.scala
Attributes
- Source
- Optional.scala
Inherited methods
Attributes
- Inherited from:
- IterableOnce
In this article