function getSubDistricts
getSubDistricts(district: string): Promise<AddressEntry[]>

Sub-districts of one district, each with its postal code.

Parameters

district: string

The district's Thai name, English name, or 4-digit code.

Return Type

Promise<AddressEntry[]>

Usage

import { getSubDistricts } from ".";