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

13 lines (11 loc) 323 B
import getRootNode from '../../core/utils/get-root-node'; /** * Return the document or document fragment (shadow DOM) * @method getRootNode * @memberof axe.commons.dom * @instance * @param {Element} node * @returns {DocumentFragment|Document} * @deprecated use axe.utils.getRootNode */ export default getRootNode;