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
Can we export IBAN countries to check if the country implements IBAN? #1570
Labels
Comments
PR welcome. |
I'd be happy to open this pr |
3 tasks
Hey @profnandaa :) |
@drorheller, @profnandaa look like PR has been merged, do you think this task can be closed? |
Closed in #1669 |
I don't see why not |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue
isIBAN()
validator allows user to validate IBAN and it contains IBAN definitions as used in many countries world-wide. In my current project I validate account numbers and not all of them implement IBAN. So I need to check if the country implements IBAN or not.In
isIBAN()
there are IBAN definitions per countries so maybe it could export the regular so user can check the country?Examples
Many countries (for example Australia, Canada or US) doesn't implement IBAN.
Validator could export something like
So user can apply IBAN validator only when appropriate.
Additional context
Validator.js version: 13.5.2
The text was updated successfully, but these errors were encountered: