Yes. Elm Html uses the type Html msg
(with a small caps msg
). This means that msg
can be whatever type.
In many code examples found online, msg
is Msg
. But that is just their choice, and they have defined Msg
themselves somewhere else in the code.
In your code you can use any other type, like Bool
.
update
. – glennsl