mozambique-utils
Version:
Easy to use parsers and validators for mozambican (🇲🇿) data-type formatted strings.
10 lines (9 loc) • 458 B
TypeScript
import { LandlineNDC } from "./type/types";
/**
* Get the landline region for a given mozambican National Destination Code | Area code.
*
* @param ndc a valid national destination code | area code of a mozambican landline number.
* @returns the region name (city) of the given ndc. Or null if an invalid ndc is given.
*/
declare const ndc_to_landline_region: (ndc: LandlineNDC | string) => string | null;
export default ndc_to_landline_region;