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

6 lines
286 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
import arrayWithoutHoles from "./arrayWithoutHoles";
import iterableToArray from "./iterableToArray";
import nonIterableSpread from "./nonIterableSpread";
export default function _toConsumableArray(arr) {
return arrayWithoutHoles(arr) || iterableToArray(arr) || nonIterableSpread();
}