Retrieves all districts belonging to a specific province.
The unique ID of the province (1-7).
Array of districts in that province, or empty array if not found.
import { getDistrictsByProvince } from 'nepali-address';const districts = getDistrictsByProvince(3);// → [{ id: 306, name: 'Kathmandu', ... }, ...] Copy
import { getDistrictsByProvince } from 'nepali-address';const districts = getDistrictsByProvince(3);// → [{ id: 306, name: 'Kathmandu', ... }, ...]
Retrieves all districts belonging to a specific province.