@qvant/qui-max
Version:
A Vue 3 Design system for Web.
18 lines (17 loc) • 540 B
JavaScript
import arrayPush from "./_arrayPush.js";
import baseFlatten from "./_baseFlatten.js";
import copyArray from "./_copyArray.js";
import isArray from "./isArray.js";
function concat() {
var length = arguments.length;
if (!length) {
return [];
}
var args = Array(length - 1), array = arguments[0], index = length;
while (index--) {
args[index - 1] = arguments[index];
}
return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));
}
export { concat as default };
//# sourceMappingURL=concat.js.map