OptionSugar

org.scalactic.OptionSugar
See theOptionSugar companion trait
object OptionSugar extends OptionSugar

Companion object for OptionSugar enabling its members to be imported as an alternative to mixing them in.

Attributes

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

Members list

Type members

Inherited classlikes

implicit class Optionizer[G](option: Option[G])

Implicit class that adds a toOr method to Option, which converts Some to Good, None to Bad.

Implicit class that adds a toOr method to Option, which converts Some to Good, None to Bad.

Attributes

Inherited from:
OptionSugar
Source
OptionSugar.scala
Supertypes
class Object
trait Matchable
class Any

Implicits

Inherited implicits

final implicit def Optionizer[G](option: Option[G]): Optionizer[G]

Implicit class that adds a toOr method to Option, which converts Some to Good, None to Bad.

Implicit class that adds a toOr method to Option, which converts Some to Good, None to Bad.

Attributes

Inherited from:
OptionSugar
Source
OptionSugar.scala