github-pages-deploy-action/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
2020-03-21 17:13:25 -04:00

7 lines
392 B
JavaScript

import arrayWithoutHoles from "./arrayWithoutHoles";
import iterableToArray from "./iterableToArray";
import unsupportedIterableToArray from "./unsupportedIterableToArray";
import nonIterableSpread from "./nonIterableSpread";
export default function _toConsumableArray(arr) {
return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
}