searchPostOffices
function searchPostOffices(query): PostOffice[];Defined in: post-offices.ts:66
Searches Pakistan Post’s directory by office name, town or post code.
Matching is case-insensitive: an office matches when its name or town contains the query, or its code starts with it.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
query |
string |
Partial office name, town or post code |
Returns
Section titled “Returns”Matching post offices, sorted by post code