forgeplus-react/node_modules/@babel/runtime/helpers/es6/toConsumableArray.js

6 lines
286 B
JavaScript
Raw Normal View History

2023-07-29 21:19:10 +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();
}