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

6 lines 343 B
import _Array$from from "@babel/runtime-corejs3/core-js/array/from"; import _isIterable from "@babel/runtime-corejs3/core-js/is-iterable"; import _Symbol from "@babel/runtime-corejs3/core-js/symbol"; export default function _iterableToArray(iter) { if (typeof _Symbol !== "undefined" && _isIterable(Object(iter))) return _Array$from(iter); }