github-pages-deploy-action/node_modules/@babel/runtime-corejs3/helpers/iterableToArray.js

9 lines
302 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
var _Array$from = require("../core-js/array/from");
var _isIterable = require("../core-js/is-iterable");
function _iterableToArray(iter) {
2020-03-31 20:57:48 +08:00
if (_isIterable(Object(iter)) || Object.prototype.toString.call(iter) === "[object Arguments]") return _Array$from(iter);
2020-03-07 11:45:40 +08:00
}
module.exports = _iterableToArray;