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