github-pages-deploy-action/node_modules/@babel/runtime/helpers/esm/slicedToArray.js

7 lines
397 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
import arrayWithHoles from "./arrayWithHoles";
import iterableToArrayLimit from "./iterableToArrayLimit";
2020-03-22 05:13:25 +08:00
import unsupportedIterableToArray from "./unsupportedIterableToArray";
2020-03-07 11:45:40 +08:00
import nonIterableRest from "./nonIterableRest";
export default function _slicedToArray(arr, i) {
2020-03-22 05:13:25 +08:00
return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
2020-03-07 11:45:40 +08:00
}