aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@babel/runtime/helpers/es6/toArray.js
blob: 5acb22b388ad59bd4c7805cfdadab07a64e01636 (plain)
1
2
3
4
5
6
import arrayWithHoles from "./arrayWithHoles";
import iterableToArray from "./iterableToArray";
import nonIterableRest from "./nonIterableRest";
export default function _toArray(arr) {
  return arrayWithHoles(arr) || iterableToArray(arr) || nonIterableRest();
}