-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: refactor isTaxID for supporting more locales (#1409)
* Prefix US-related functionality with "enUs" * Remove assumption of global IRS-like campus prefixes * Move US prefix check into separate function * Add per-locale check function lookup table * Support future locales lacking a check function (e.g. UK) * Remove unneeded sorting of the IRS campus prefixes * Add comments
- Loading branch information
1 parent
c94bfde
commit 7801390
Showing
1 changed file
with
48 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters