code: function hasClass(element) {
    element = getElement(element);
    if (!element) return;
  
    var n = arguments.length <= 1 ? 0 : arguments.length - 1;
    var found = void 0;
    var i = 0;
    while (i < n && (found = element.classList.contains((_ref = i++ + 1, arguments.length <= _ref ? undefined : arguments[_ref])))) {
      var _ref;
    }
  
    return found;
  }
docs: Iterates over classes and test if element has each.
  @param {(string|Array|NodeList|HTMLCollection|Element)} elements - The iterable, selector or elements.
  @param {...string} classes - Classes to test.
  @return {boolean} hasClass - Is true if element has all classes.
  @example //esnext
  import { createElement, hasClass } from 'chirashi'
  const maki = createElement('.salmon.cheese.maki')
  hasClass(maki, 'salmon', 'cheese') //returns: true
  hasClass(maki, 'salmon', 'avocado') //returns: false
  @example //es5
  var maki = Chirashi.createElement('.salmon.cheese.maki')
  Chirashi.hasClass(maki, 'salmon', 'cheese') //returns: true
  Chirashi.hasClass(maki, 'salmon', 'avocado') //returns: false