UNPKG

387 BJavaScriptView Raw
1import _Symbol from "@babel/runtime-corejs2/core-js/symbol";
2import _Symbol$iterator from "@babel/runtime-corejs2/core-js/symbol/iterator";
3import _Array$from from "@babel/runtime-corejs2/core-js/array/from";
4export default function _iterableToArray(iter) {
5 if (typeof _Symbol !== "undefined" && iter[_Symbol$iterator] != null || iter["@@iterator"] != null) return _Array$from(iter);
6}
\No newline at end of file