getTehsilDistrict
function getTehsilDistrict(tehsil, province?): string | null;Defined in: geo.ts:264
Returns the district a tehsil was in at the 2023 census.
Census-district caveat: the result is the census district, which may have
been split since (a tehsil of Quetta is now in Quetta East or Quetta
West). A few names are shared by tehsils in different districts (Saddar,
Sahiwal, Khanpur); pass the province to tell them apart. Returns
null when the name is unknown or still matches more than one district.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
tehsil |
string |
Tehsil, taluka or sub-division name (case-insensitive) |
province? |
string |
Optional province to narrow the search |
Returns
Section titled “Returns”string | null
District name or null