Present

zio.blocks.maybe.Present
See thePresent companion class
object Present

Attributes

Companion
class
Source
Maybe.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Present.type

Members list

Value members

Concrete methods

def apply[A](value: A): Present[A]

Attributes

Source
Maybe.scala
def unapply[A](maybe: Maybe[A]): Option[A]

Matches BOTH present shapes: a raw non-Absent value and a Present(...) wrapper.

Matches BOTH present shapes: a raw non-Absent value and a Present(...) wrapper.

Attributes

Source
Maybe.scala