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.
8 lines
388 B
8 lines
388 B
2 months ago
|
import arrayWithHoles from "./arrayWithHoles.js";
|
||
|
import iterableToArray from "./iterableToArray.js";
|
||
|
import unsupportedIterableToArray from "./unsupportedIterableToArray.js";
|
||
|
import nonIterableRest from "./nonIterableRest.js";
|
||
|
function _toArray(r) {
|
||
|
return arrayWithHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableRest();
|
||
|
}
|
||
|
export { _toArray as default };
|