main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
300 bytes
|
Rev | Line | |
---|
[d565449] | 1 | import arrayLikeToArray from "./arrayLikeToArray.js";
|
---|
| 2 | function _maybeArrayLike(r, a, e) {
|
---|
| 3 | if (a && !Array.isArray(a) && "number" == typeof a.length) {
|
---|
| 4 | var y = a.length;
|
---|
| 5 | return arrayLikeToArray(a, void 0 !== e && e < y ? e : y);
|
---|
| 6 | }
|
---|
| 7 | return r(a, e);
|
---|
| 8 | }
|
---|
| 9 | export { _maybeArrayLike as default }; |
---|
Note:
See
TracBrowser
for help on using the repository browser.