Absent

zio.prelude.data.Optional.Absent
case object Absent extends Optional[Nothing]

Optional value that is absent

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Optional[Nothing]
class Object
trait Matchable
class Any
Show all
Self type
Absent.type

Members list

Type members

Inherited classlikes

class WithFilter(p: A => Boolean)

Attributes

Inherited from:
Optional
Supertypes
class Object
trait Matchable
class Any

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton

Attributes

Inherited from:
Singleton

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton

Value members

Inherited methods

final def collect[B](pf: PartialFunction[Nothing, B]): Optional[B]

Attributes

Inherited from:
Optional
final def contains[A1](elem: A1): Boolean

Attributes

Inherited from:
Optional
final def exists(p: Nothing => Boolean): Boolean

Attributes

Inherited from:
Optional
final def filter(p: Nothing => Boolean): Optional[Nothing]

Attributes

Inherited from:
Optional
final def filterNot(p: Nothing => Boolean): Optional[Nothing]

Attributes

Inherited from:
Optional
final def flatMap[B](f: Nothing => Optional[B]): Optional[B]

Attributes

Inherited from:
Optional
final def flatten[B](implicit ev: Nothing <:< Option[B]): Option[B]

Attributes

Inherited from:
Optional
final def fold[B](ifEmpty: => B)(f: Nothing => B): B

Attributes

Inherited from:
Optional
final def forall(p: Nothing => Boolean): Boolean

Attributes

Inherited from:
Optional
final def foreach[U](f: Nothing => U): Unit

Attributes

Inherited from:
Optional

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
final def getOrElse[A0](default: => A0): A0

Attributes

Inherited from:
Optional
final def iterator: Iterator[Nothing]

Attributes

Inherited from:
Optional
final def map[B](f: Nothing => B): Optional[B]

Attributes

Inherited from:
Optional
final def orElse[B](other: Optional[B]): Optional[B]

Attributes

Inherited from:
Optional

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toChunk: Chunk[Nothing]

Attributes

Inherited from:
Optional
final def toLeft[R](right: R): Either[Nothing, R]

Attributes

Inherited from:
Optional
final def toList: List[Nothing]

Attributes

Inherited from:
Optional
final def toOption: Option[Nothing]

Converts this optional value to standard scala.Option

Converts this optional value to standard scala.Option

Attributes

Inherited from:
Optional
final def toRight[L](left: L): Either[L, Nothing]

Attributes

Inherited from:
Optional
final def toVector: Vector[Nothing]

Attributes

Inherited from:
Optional
final def withFilter(p: Nothing => Boolean): WithFilter

Attributes

Inherited from:
Optional

Concrete fields

override val isDefined: Boolean
override val isEmpty: Boolean
override val nonEmpty: Boolean