Closed lenzenc closed 9 years ago
You can use .each for that (i.e. p.age.each is between(...)). It should be covered in the documentation on the project site, though - is it not clear enough?
Thanks, will give that a try. As far as I can see I don't see any documentation about using "each"; http://wix.github.io/accord/
It's at http://wix.github.io/accord/dsl.html. The site could really use a TOC, and I could really use some help from anyone conversant in CSS to get it done properly :-)
I'm trying to figure out what is the best practice for handling Option, for example;
In this case I only want to validate "age" if it is Some.
Thoughts?