The DNI of Argentina. This page is generated from the registry metadata of the library.
| Property | Value |
|---|---|
| Country code | ARG, AR |
| ID type | DNI |
| Official name | Documento Nacional de Identidad (DNI) |
| Also known as | Documento Nacional de Identidad; DNI |
| Display format | ##.###.### |
| Input masks | ##.###.### |
| Length | 8 |
| Example | 12.345.678 |
| Checksum | no |
| Checksum algorithm | None (format/length only) |
| Parsable | no |
The root entry registers every country:
import { validateNationalId } from 'idnumbers';
validateNationalId('ARG', '12.345.678').isValid; // true
To bundle only this country, import its definition from idnumbers/countries/arg and pass it to register():
import { register, validateNationalId } from 'idnumbers/core';
import { country } from 'idnumbers/countries/arg';
register(country);
validateNationalId('ARG', '12.345.678').isValid; // true