All Downloads are FREE. Search and download functionalities are using the official Maven repository.

japgolly.webapputil.general.Enabled.scala Maven / Gradle / Ivy

There is a newer version: 2.0.0-RC12
Show newest version
package japgolly.webapputil.general

import japgolly.microlibs.utils.SafeBool

sealed trait Enabled extends SafeBool.WithBoolOps[Enabled] {
  override final def companion = Enabled
}

case object Enabled extends Enabled with SafeBool.Object[Enabled] {
  override def positive = Enabled
  override def negative = Disabled
}

case object Disabled extends Enabled




© 2015 - 2025 Weber Informatics LLC | Privacy Policy