packages/babel-runtime-corejs2/helpers/esm/iterableToArray.js
raw| 1 | import _Symbol from "@babel/runtime-corejs2/core-js/symbol"; |
| 2 | import _Symbol$iterator from "@babel/runtime-corejs2/core-js/symbol/iterator"; |
| 3 | import _Array$from from "@babel/runtime-corejs2/core-js/array/from"; |
| 4 | export default function _iterableToArray(iter) { |
| 5 | if (typeof _Symbol !== "undefined" && iter[_Symbol$iterator] != null || iter["@@iterator"] != null) return _Array$from(iter); |
| 6 | } |