slicedToArray.js 397 B

1234567
  1. import arrayWithHoles from "./arrayWithHoles";
  2. import iterableToArrayLimit from "./iterableToArrayLimit";
  3. import unsupportedIterableToArray from "./unsupportedIterableToArray";
  4. import nonIterableRest from "./nonIterableRest";
  5. export default function _slicedToArray(arr, i) {
  6. return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
  7. }