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 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]

Extensions

Extensions

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