google_forms/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js

9 lines
300 B
JavaScript
Raw Normal View History

2024-08-09 12:04:48 +00:00
import arrayLikeToArray from "./arrayLikeToArray.js";
function _maybeArrayLike(r, a, e) {
if (a && !Array.isArray(a) && "number" == typeof a.length) {
var y = a.length;
return arrayLikeToArray(a, void 0 !== e && e < y ? e : y);
}
return r(a, e);
}
export { _maybeArrayLike as default };