Value

org.sphix.Value
See theValue companion enum
object Value

Attributes

Companion
enum
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Value.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fromNullable[A](x: A): Value[A]
def fromOption[A](x: Option[A]): Value[A]
def fromTry[A](x: Try[A]): Value[A]
def sequence[A](xs: Iterable[Value[_]], y: => A): Value[A]

Extensions

Extensions

extension [A](value: Value[A])
def filter(p: A => Boolean): Value[A]
def get: A
def isEmpty: Boolean
def liftOption: Value[Option[A]]
def map[B](f: A => B): Value[B]
def status: Status
def toOption: Option[A]
def valid: Boolean