@dialstack/sdk-dev / js/src / phoneNumberCountry
Function: phoneNumberCountry()
TypeScript
function phoneNumberCountry(e164):
| SupportedCountryCode
| undefined;
Defined in: sdk/js/src/utils/phone-list.ts:491
The supported country of a number, or undefined for one we don't serve.
Toll-free numbers report US: the shared 8YY codes are assigned to it.
Parameters
e164
string
Returns
| SupportedCountryCode
| undefined