main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
374 bytes
|
Line | |
---|
1 | import _Array$isArray from "core-js-pure/features/array/is-array.js";
|
---|
2 | import arrayLikeToArray from "./arrayLikeToArray.js";
|
---|
3 | export default function _maybeArrayLike(next, arr, i) {
|
---|
4 | if (arr && !_Array$isArray(arr) && typeof arr.length === "number") {
|
---|
5 | var len = arr.length;
|
---|
6 | return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len);
|
---|
7 | }
|
---|
8 | return next(arr, i);
|
---|
9 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.