Toggle

sealed trait Toggle[+T]
Companion:
object
class Object
trait Matchable
class Any
object Disabled.type
class Enabled[T]

Value members

Abstract methods

def fold[A](empty: => A, fromValue: T => A): A
def isEmpty: Boolean
def toOption: Option[T]