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

18 lines (17 loc) 494 B
/** PURE_IMPORTS_START _config,_util_hostReportError PURE_IMPORTS_END */ import { config } from './config'; import { hostReportError } from './util/hostReportError'; export var empty = { closed: true, next: function (value) { }, error: function (err) { if (config.useDeprecatedSynchronousErrorHandling) { throw err; } else { hostReportError(err); } }, complete: function () { } }; //# sourceMappingURL=Observer.js.map