Class

io.scalajs.util.Maybe

MaybeEnrichment

Related Doc: package Maybe

Permalink

implicit final class MaybeEnrichment[A] extends AnyVal

Maybe Enrichment

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MaybeEnrichment
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MaybeEnrichment(aValue: Maybe[A])

    Permalink

    aValue

    the given Maybe-wrapped value

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. val aValue: Maybe[A]

    Permalink

    the given Maybe-wrapped value

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def filter(p: (A) ⇒ Boolean): Maybe[A]

    Permalink
    Annotations
    @inline()
  7. def filterNot(p: (A) ⇒ Boolean): Maybe[A]

    Permalink
    Annotations
    @inline()
  8. def flatMap[B](p: (A) ⇒ Maybe[B]): Maybe[B]

    Permalink
    Annotations
    @inline()
  9. def forall(p: (A) ⇒ Boolean): Boolean

    Permalink
    Annotations
    @inline()
  10. def foreach[U](p: (A) ⇒ U): Unit

    Permalink
    Annotations
    @inline()
  11. def get: A

    Permalink
    Annotations
    @inline()
  12. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  13. def getOrElse[B >: A](default: ⇒ B): B

    Permalink
    Annotations
    @inline()
  14. def isDefined: Boolean

    Permalink
    Annotations
    @inline()
  15. def isEmpty: Boolean

    Permalink
    Annotations
    @inline()
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def map[B](p: (A) ⇒ B): Maybe[B]

    Permalink
    Annotations
    @inline()
  18. def nonEmpty: Boolean

    Permalink
    Annotations
    @inline()
  19. def orNull[B >: A](implicit ev: <:<[Null, B]): B

    Permalink
    Annotations
    @inline()
  20. def toLeft[B](right: ⇒ B): Either[A, B]

    Permalink
    Annotations
    @inline()
  21. def toOption: Option[A]

    Permalink
    Annotations
    @inline()
  22. def toRight[B](left: ⇒ B): Either[B, A]

    Permalink
    Annotations
    @inline()
  23. def toString(): String

    Permalink
    Definition Classes
    Any
  24. def toUndefOr: UndefOr[A]

    Permalink
    Annotations
    @inline()

Inherited from AnyVal

Inherited from Any

Ungrouped