source: imaps-frontend/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js

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
Line 
1import arrayLikeToArray from "./arrayLikeToArray.js";
2function _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}
9export { _maybeArrayLike as default };
Note: See TracBrowser for help on using the repository browser.