const e = (e, t, n) => {
	if (n >= 0 && n < e.length) {
		let r = e.splice(t, 1)[0];
		e.splice(n, 0, r);
	} else console.warn(`Invalid move operation: from ${t} to ${n} in array of length ${e.length}`);
	return e;
};
export { e as moveElements };

//# sourceMappingURL=utils.js.map