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

Get country code #22

Open
tjconcept opened this issue Oct 29, 2015 · 0 comments
Open

Get country code #22

tjconcept opened this issue Oct 29, 2015 · 0 comments

Comments

@tjconcept
Copy link

It would be nice to be able to get the country code from an IBAN without doing .slice(0, 2) (which I only learned was true for all IBAN's by reading the source).

It could be implemented in several ways: a parse method could return an object with properties like countryCode and methods like toBBAN.

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

No branches or pull requests

2 participants