# getDistrictProvince

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

```ts
function getDistrictProvince(district): string | null;
```

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

Returns the province for a given Pakistani district name.

Matching is case-insensitive and ignores inconsistent spacing.
Returns `null` when no exact district match is found.

## Parameters

| Parameter | Type | Description |
| :------ | :------ | :------ |
| `district` | `string` | The district name to look up |

## Returns

`string` \| `null`

Province name or `null` if not found
