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

6 lines
261 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
import arrayWithHoles from "./arrayWithHoles";
import iterableToArray from "./iterableToArray";
import nonIterableRest from "./nonIterableRest";
export default function _toArray(arr) {
2020-03-31 20:57:48 +08:00
return arrayWithHoles(arr) || iterableToArray(arr) || nonIterableRest();
2020-03-07 11:45:40 +08:00
}