DNI: {
METADATA: {
aliasOf: null;
checksum: true;
checksumAlgorithm: string;
countryName: string;
deprecated: false;
displayFormat: string;
example: string;
idType: string;
iso3166Alpha2: string;
links: string[];
masks: string[];
maxLength: number;
minLength: number;
names: string[];
officialName: string;
parsable: false;
regexp: RegExp;
};
validate: (idNumber: string) => boolean;
} = ...
Type Declaration
-
-
validate: (idNumber: string) => boolean