getDivisions
function getDivisions(province?): string[];Defined in: geo.ts:185
Returns the administrative divisions of Pakistan, or of one province.
The list is the 30 divisions of the 2023 census: Punjab 9, Sindh 6, Khyber Pakhtunkhwa 7 and Balochistan 8. Islamabad has no division, and the census tables do not cover Azad Jammu and Kashmir or Gilgit-Baltistan. Divisions created since the census (such as Gujrat in Punjab) are not included.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
province? |
string |
Optional province name (case-insensitive) |
Returns
Section titled “Returns”string[]
Alphabetically sorted division names