GT2/Ejectable/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js

7 lines
404 B
JavaScript
Raw Normal View History

2021-08-16 00:14:59 +00:00
import arrayWithoutHoles from "./arrayWithoutHoles.js";
import iterableToArray from "./iterableToArray.js";
import unsupportedIterableToArray from "./unsupportedIterableToArray.js";
import nonIterableSpread from "./nonIterableSpread.js";
export default function _toConsumableArray(arr) {
return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
}