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

17 lines (16 loc) 344 B
export interface EmptyError extends Error { } export interface EmptyErrorCtor { new (): EmptyError; } /** * An error thrown when an Observable or a sequence was queried but has no * elements. * * @see {@link first} * @see {@link last} * @see {@link single} * * @class EmptyError */ export declare const EmptyError: EmptyErrorCtor;