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

7 lines
367 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
import arrayWithHoles from "./arrayWithHoles";
import iterableToArray from "./iterableToArray";
2020-03-22 05:13:25 +08:00
import unsupportedIterableToArray from "./unsupportedIterableToArray";
2020-03-07 11:45:40 +08:00
import nonIterableRest from "./nonIterableRest";
export default 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
}