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

6 lines
288 B
JavaScript
Raw Normal View History

2023-07-29 21:19:10 +08:00
import arrayWithHoles from "./arrayWithHoles";
import iterableToArrayLimit from "./iterableToArrayLimit";
import nonIterableRest from "./nonIterableRest";
export default function _slicedToArray(arr, i) {
return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || nonIterableRest();
}