UNPKG
verhoeff-algorithm
Version:
latest (1.0.0)
1.0.0
A TypeScript implementation of the Verhoeff algorithm.
verhoeff-algorithm
/
index.d.ts
7 lines
(6 loc)
•
247 B
TypeScript
View Raw
1
2
3
4
5
6
7
/** * 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
;