1 | import arrayLikeToArray from "./arrayLikeToArray.js";
|
2 | export default function _maybeArrayLike(next, arr, i) {
|
3 | if (arr && !Array.isArray(arr) && typeof arr.length === "number") {
|
4 | var len = arr.length;
|
5 | return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len);
|
6 | }
|
7 |
|
8 | return next(arr, i);
|
9 | } |
\ | No newline at end of file |