Absent

case
object Absent extends Optional[Nothing]

Optional value that is absent

trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Optional[Nothing]
class Object
trait Matchable
class Any

Type members

Inherited classlikes

class WithFilter(p: A => Boolean)
Inherited from
Optional

Inherited types

type MirroredElemLabels = EmptyTuple
Inherited from
Singleton
type MirroredElemTypes = EmptyTuple
Inherited from
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror
type MirroredMonoType = Singleton
Inherited from
Singleton
type MirroredType = Singleton
Inherited from
Singleton

Value members

Inherited methods

final
def collect[B](pf: PartialFunction[Nothing, B]): Optional[B]
Inherited from
Optional
final
def contains[A1](elem: A1): Boolean
Inherited from
Optional
final
def exists(p: Nothing => Boolean): Boolean
Inherited from
Optional
final
def filter(p: Nothing => Boolean): Optional[Nothing]
Inherited from
Optional
final
def filterNot(p: Nothing => Boolean): Optional[Nothing]
Inherited from
Optional
final
def flatMap[B](f: Nothing => Optional[B]): Optional[B]
Inherited from
Optional
final
def flatten[B](implicit ev: Nothing <:< Option[B]): Option[B]
Inherited from
Optional
final
def fold[B](ifEmpty: => B)(f: Nothing => B): B
Inherited from
Optional
final
def forall(p: Nothing => Boolean): Boolean
Inherited from
Optional
final
def foreach[U](f: Nothing => U): Unit
Inherited from
Optional
def fromProduct(p: Product): MirroredMonoType
Inherited from
Singleton
final
def getOrElse[A0](default: => A0): A0
Inherited from
Optional
final
def iterator: Iterator[Nothing]
Inherited from
Optional
final
def map[B](f: Nothing => B): Optional[B]
Inherited from
Optional
final
def orElse[B](other: Optional[B]): Optional[B]
Inherited from
Optional
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
final
def toChunk: Chunk[Nothing]
Inherited from
Optional
final
def toLeft[R](right: R): Either[Nothing, R]
Inherited from
Optional
final
def toList: List[Nothing]
Inherited from
Optional
final
def toOption: Option[Nothing]

Converts this optional value to standard scala.Option

Converts this optional value to standard scala.Option

Inherited from
Optional
final
def toRight[L](left: L): Either[L, Nothing]
Inherited from
Optional
final
def toVector: Vector[Nothing]
Inherited from
Optional
final
def withFilter(p: Nothing => Boolean): WithFilter
Inherited from
Optional

Concrete fields

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