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

Added string length validators ifShorterThan, ifLongerThan, ifLengthB… #10

Closed td-ideabox closed 6 years ago

td-ideabox commented 7 years ago

…etween.

If there is a more general type that supports length then String we should use that.

rtfeldman commented 6 years ago

Thanks! After thinking about this, I think string length validation (other than blankness) is an uncommon enough use case that I'd rather not have them in the public API.