Optionizer

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

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

Source:
OptionSugar.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

def toOr[B](orElse: => B): Or[G, B]

Converts the wrapped Option to an Or.

Converts the wrapped Option to an Or.

Source:
OptionSugar.scala