NOTE: this package is not compatible with Elm 0.19.1
Functions to verify properties of a Maybe.
Fails if a Maybe is Nothing.
isJust "error" Nothing --> Err [ "error" ] isJust "error" (Just 42) --> Ok 42 -- It removes the wrapper as well!
Fails if a Maybe is Nothing.