# getDistrictsByProvince

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

```ts
function getDistrictsByProvince(province): string[];
```

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

Returns all districts for a given province (case-insensitive).

## Parameters

| Parameter | Type | Description |
| :------ | :------ | :------ |
| `province` | `string` | Province name to filter by |

## Returns

`string`[]

Alphabetically sorted district names
