You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
376 B
9 lines
376 B
var arrayLikeToArray = require("./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);
|
|
}
|
|
module.exports = _maybeArrayLike, module.exports.__esModule = true, module.exports["default"] = module.exports; |