import { isEmpty } from "./isEmpty";
export function replaceAllIgnoreCase(text, search, replace) {
return isEmpty(text) || !search ? text : text === null || text === void 0 ? void 0 : text.replace(new RegExp(search, 'gi'), replace !== null && replace !== void 0 ? replace : '');
}