Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example to docs of custom rule comparing two supplied pieces of data? #132

Open
domhnallw opened this issue Oct 6, 2015 · 1 comment

Comments

@domhnallw
Copy link

Hi all:

Would it be possible to add an example of a custom rule to the README that shows how to compare two items of supplied data, in the same way as the already-defined equals and different rules do? Even something simple like a lessThan or greaterThan rule would be great to illustrate how that would work.

Thanks :)

@domhnallw
Copy link
Author

While we're on the subject, being able to use two items of data to check another (such as a 'between' method to check if a supplied value is between two others) would be great too :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant