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

5 lines
200 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
function _iterableToArray(iter) {
2020-03-31 20:57:48 +08:00
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
2020-03-07 11:45:40 +08:00
}
module.exports = _iterableToArray;