iterableToArray.js 506 B

123456789101112
  1. var _Symbol = require("@babel/runtime-corejs3/core-js/symbol");
  2. var _getIteratorMethod = require("@babel/runtime-corejs3/core-js/get-iterator-method");
  3. var _Array$from = require("@babel/runtime-corejs3/core-js/array/from");
  4. function _iterableToArray(iter) {
  5. if (typeof _Symbol !== "undefined" && _getIteratorMethod(iter) != null || iter["@@iterator"] != null) return _Array$from(iter);
  6. }
  7. module.exports = _iterableToArray;
  8. module.exports["default"] = module.exports, module.exports.__esModule = true;