NumberInfo
Defined in: numbers.ts:15
Result of analyzeNumber.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
type |
NumberType |
- |
formatted |
string |
National format with trunk prefix and separators, e.g. 021-111-825-888. |
e164 |
string | null |
E.164 format, e.g. +9221111825888. null for a UAN dialled without an area code. |
areaCode |
string | null |
Area code with trunk prefix (e.g. 021) for landlines and UANs. |
cities |
string[] |
Cities served by the area code, when known. |