Dígito de control Verhoeff
verhoeffValida un número con el dígito de control Verhoeff (el último dígito). Solo valida. Cuándo: hay que verificar sin conexión el formato y el dígito de control de un identificador antes de usarlo. No para: validar un número con el dígito de control Damm (damm). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Validates a digit string with the Verhoeff dihedral-group checksum (catches all single errors and adjacent transpositions; used by India's Aadhaar); the last digit is the check digit. Validation only. When: an identifier's format and check digit have to be verified offline before it is used. Not for: validating a digit string with the Damm quasigroup checksum (damm). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. [EN completo / full EN: inputSchema.description]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Digits including the final check digit (string; required; pattern ^\d{2,100}$). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | No |