//#region src/utils/ensureArrayQueryFilter.ts
const ensureArrayQueryFilter = (filter) => {
	let idsArray;
	if (typeof filter === "string") idsArray = filter.split(",");
	else if (Array.isArray(filter)) idsArray = filter;
	else idsArray = [];
	return idsArray;
};

//#endregion
export { ensureArrayQueryFilter };
//# sourceMappingURL=ensureArrayQueryFilter.mjs.map