Finds a specific local level by its unique ID.
The name of the local level.
The local level object if found, otherwise undefined.
import { getLocalLevelById } from 'nepali-address';const district = getLocalLevelById(10101);// → { id: 10101, name: 'Phaktanglung', ... }const missing = getLocalLevelById(1999);// → undefined Copy
import { getLocalLevelById } from 'nepali-address';const district = getLocalLevelById(10101);// → { id: 10101, name: 'Phaktanglung', ... }const missing = getLocalLevelById(1999);// → undefined
Finds a specific local level by its unique ID.