UNPKG

397 BJavaScriptView Raw
1import arrayWithHoles from "./arrayWithHoles";
2import iterableToArrayLimit from "./iterableToArrayLimit";
3import unsupportedIterableToArray from "./unsupportedIterableToArray";
4import nonIterableRest from "./nonIterableRest";
5export default function _slicedToArray(arr, i) {
6 return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
7}
\No newline at end of file