UNPKG

luhn-generator

Version:

A generator of numbers that passes the validation of Luhn algorithm or Luhn formula, also known as the 'modulus 10' or 'mod 10' algorithm

2 lines 133 B
// typeof any so that it we don't have to cast when comparing a result to the error object export const errorObject: any = { e: {} };