You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
467 B
7 lines
467 B
4 years ago
|
import arrayWithHoles from "@babel/runtime/helpers/esm/arrayWithHoles";
|
||
|
import iterableToArray from "@babel/runtime/helpers/esm/iterableToArray";
|
||
|
import unsupportedIterableToArray from "@babel/runtime/helpers/esm/unsupportedIterableToArray";
|
||
|
import nonIterableRest from "@babel/runtime/helpers/esm/nonIterableRest";
|
||
|
export default function _toArray(arr) {
|
||
|
return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
|
||
|
}
|