Files
owncast/build/javascript/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
2020-10-20 05:15:30 +00: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();
}