jiangchengfeiyi-xiaochengxu/node_modules/@babel/runtime/helpers/esm/toArray.js
2025-01-02 11:13:50 +08:00

8 lines
388 B
JavaScript

import arrayWithHoles from "./arrayWithHoles.js";
import iterableToArray from "./iterableToArray.js";
import unsupportedIterableToArray from "./unsupportedIterableToArray.js";
import nonIterableRest from "./nonIterableRest.js";
function _toArray(r) {
return arrayWithHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableRest();
}
export { _toArray as default };