Skip to content

getDivisionOfDistrict

function getDivisionOfDistrict(district): string | null;

Defined in: geo.ts:212

Returns the division a district belonged to in the 2023 census.

Census-district caveat: only the 136 districts of the 2023 census have a division here, under the name they had then (so Quetta, Dera Bugti and South Waziristan work, and their successors do not). Districts created after the census, and those of Azad Jammu and Kashmir, Gilgit-Baltistan and Islamabad, return null.

Parameter Type Description
district string District name (case-insensitive)

string | null

Division name or null if not known