UNPKG

302 BJavaScriptView Raw
1var _Array$from = require("../core-js/array/from");
2
3var _isIterable = require("../core-js/is-iterable");
4
5function _iterableToArray(iter) {
6 if (_isIterable(Object(iter)) || Object.prototype.toString.call(iter) === "[object Arguments]") return _Array$from(iter);
7}
8
9module.exports = _iterableToArray;
\No newline at end of file