Skip to content

pakdatakit/numbers

Interface Description
NumberInfo Result of analyzeNumber.
Type Alias Description
NumberType Kind of Pakistani telephone number.
Function Description
analyzeNumber Identifies and formats any Pakistani telephone number: mobile, landline, UAN (111), toll-free (0800), premium-rate (0900) or personal (0122).
getNumberType Returns the type of a Pakistani telephone number. See analyzeNumber.
validateLandline Validates a Pakistani landline (fixed-line) number such as 042-35761234.
getAreaCode Returns the landline area code for a city, with trunk prefix (e.g. "042").