toConsumableArray.js 423 B

12345678
  1. import arrayWithoutHoles from "./arrayWithoutHoles.js";
  2. import iterableToArray from "./iterableToArray.js";
  3. import unsupportedIterableToArray from "./unsupportedIterableToArray.js";
  4. import nonIterableSpread from "./nonIterableSpread.js";
  5. function _toConsumableArray(r) {
  6. return arrayWithoutHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableSpread();
  7. }
  8. export { _toConsumableArray as default };