# searchDistricts

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

```ts
function searchDistricts(query): string[];
```

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

Searches districts by partial, case-insensitive name match.

## Parameters

| Parameter | Type | Description |
| :------ | :------ | :------ |
| `query` | `string` | Partial district name to search for |

## Returns

`string`[]

Alphabetically sorted list of matching district names
