iterableToArray.js 273 B

1234
  1. function _iterableToArray(iter) {
  2. if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
  3. }
  4. module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;