UNPKG

verhoeff-algorithm

Version:

A TypeScript implementation of the Verhoeff algorithm.

7 lines (6 loc) 247 B
/** * Validates if the given number passes the Verhoeff check. * @param number A string representing the number to check. * @returns A boolean indicating if the number is valid. */ export declare function isValidVerhoeff(number: string): boolean;