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

Added method ISO3166DataProvider::alpha #97

Closed
wants to merge 1 commit into from

Conversation

wimski
Copy link

@wimski wimski commented Nov 10, 2023

No description provided.

@alcohol
Copy link
Owner

alcohol commented Apr 26, 2024

This looks to me like simply a convenience helper function in case you do not know if your input/data is alpha 2 or alpha 3? I would rather keep this library as simple and "dumb" as possible. If you need a way to guess whether your data is alpha 2 or alpha 3, I suggest you write a helper function in your codebase, similar to what you did here.

@alcohol alcohol closed this Apr 26, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants