EngageSoftware/elm-engage-common/8.2.5

NOTE: the latest version is 8.2.10

Engage.Mode

Mode helpers

type Mode
= Reactor
| Development
| Production

A mode that the application is running

fromBool : Bool -> Mode

Convert a bool to a Mode

isReactor : Mode -> Bool

Check if the mode is reactor

decoder : Decoder Mode

Mode decoder