Value
represents the inner value of a Field
Internal.Value
A Value
can be a String
(input/select field) or
a Bool
(checkbox field)
defaultString : Value
Is the default string Value
""
defaultBool : Value
Is the default bool Value
False
string : String -> Value
Creates a string Value
string "some input value"
bool : Basics.Bool -> Value
Creates a bool Value
bool True
getString : Value -> Maybe String
Returns the value of a string Value
getBool : Value -> Maybe Basics.Bool
Returns the value of a bool Value