freewil / express-form

Form validation and data filtering for Express
MIT License
89 stars 21 forks source link

validate('foobar').is(undefined) hangs. #28

Open dhollenbeck opened 6 years ago

dhollenbeck commented 6 years ago

If you accidentally pass undefined into .is() the validation hangs.

validate('foobar').is(undefined)

Thanks much for this lib. Best, Dan