rtfeldman / elm-validate

Convenience functions for validating Elm data.
http://package.elm-lang.org/packages/rtfeldman/elm-validate/latest
BSD 3-Clause "New" or "Revised" License
145 stars 28 forks source link

Add ifNothingOrEmpty #2

Closed strickinato closed 5 months ago

strickinato commented 9 years ago

Add a validator for checking a Maybe String

Useful for when field information stored as Maybe but we still want an error when it's an empty string.