blob: c7834a312257a38bd20acf87c1729dceac76f9c1 (
plain)
1
2
3
4
5
6
7
8
9
|
var _Array$from = require("../core-js/array/from");
var _isIterable = require("../core-js/is-iterable");
function _iterableToArray(iter) {
if (_isIterable(Object(iter)) || Object.prototype.toString.call(iter) === "[object Arguments]") return _Array$from(iter);
}
module.exports = _iterableToArray;
|