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

9 lines (8 loc) 260 B
'use strict'; require('../../modules/es6.set'); require('../../modules/es7.set.of'); var $Set = require('../../modules/_core').Set; var $of = $Set.of; module.exports = function of() { return $of.apply(typeof this === 'function' ? this : $Set, arguments); };