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

7 lines
392 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
import arrayWithoutHoles from "./arrayWithoutHoles";
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 nonIterableSpread from "./nonIterableSpread";
export default function _toConsumableArray(arr) {
2020-03-22 05:13:25 +08:00
return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
2020-03-07 11:45:40 +08:00
}