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

13 lines
396 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
var arrayWithHoles = require("./arrayWithHoles");
var iterableToArray = require("./iterableToArray");
2020-03-22 05:13:25 +08:00
var unsupportedIterableToArray = require("./unsupportedIterableToArray");
2020-03-07 11:45:40 +08:00
var nonIterableRest = require("./nonIterableRest");
function _toArray(arr) {
2020-03-22 05:13:25 +08:00
return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
2020-03-07 11:45:40 +08:00
}
module.exports = _toArray;