nepali-address - v1.0.5
    Preparing search index...

    Function getLocalLevelsByDistrict

    • Retrieves all local levels belonging to a specific district.

      Parameters

      • districtId: number

        The unique ID of the district.

      Returns LocalLevel[]

      Array of local levels in that districts, or empty array if not found.

      import { getLocalLevelsByDistrict } from 'nepali-address';

      const districts = getLocalLevelsByDistrict(101);
      // → [{ id: 10101, name: 'Phaktanglung', ... }, ...]