mbr/elm-extras/3.1.0

Extras.String

Conversions to strings that are missing from elm/core.

fromBool : Bool -> String

Convert a Boolean to its Elm representation.

fromBool True == "True"


fromBool False == "False"
fromBoolLowercase : Bool -> String

Convert a Boolean to its lowercase representation.

fromBoolLowercase True == "true"


fromBoolLowercase False == "false"