# getDivisions

Source: https://pakdatakit.dev/api/typescript/geo/functions/getdivisions/

```ts
function getDivisions(province?): string[];
```

Defined in: [geo.ts:185](https://github.com/chmuzamil/pakdatakit/blob/a6eeaa47381308c4e4fcda45b29642fe4fbfb1fc/src/geo.ts#L185)

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

| Parameter | Type | Description |
| :------ | :------ | :------ |
| `province?` | `string` | Optional province name (case-insensitive) |

## Returns

`string`[]

Alphabetically sorted division names
