mozambique-utils
Version:
Easy to use parsers and validators for mozambican (🇲🇿) data-type formatted strings.
11 lines (10 loc) • 346 B
TypeScript
/**
* Check if a mozambican Número Único de Identificação Tributária (NUIT)
* is valid or not.
* For it to be valid, it must include 9 digits.
*
* @param {string} nuit the NUIT to check
* @returns {boolean} true if valid, otherwise false.
*/
declare const isNUITValid: (nuit: string) => boolean;
export default isNUITValid;