amis-rpc-design/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js

7 lines
404 B
JavaScript
Raw Normal View History

2023-10-07 19:42:30 +08: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();
}