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

numericality #293

Open
paulomcnally opened this issue Aug 5, 2018 · 2 comments
Open

numericality #293

paulomcnally opened this issue Aug 5, 2018 · 2 comments

Comments

@paulomcnally
Copy link

These validations are important:

  • greater_than
  • greater_than_or_equal_to
  • less_than
  • less_than_or_equal_to
@ironmaniiith
Copy link
Collaborator

Could be implemented using the combinations of is.under or is.above with is.equal (in case of equality)

@paulomcnally
Copy link
Author

How would you use if you want to validate a password that is greater than 6 and less than 255 characters?

const is = require('is_js');
const password = 'abcde';

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

2 participants