//#region src/utils/camelCase.ts
const sentenceToCamelCase = (string) => {
	const sentence = string.split(" ").map((word) => `${word.charAt(0).toUpperCase()}${word.slice(1).toLowerCase()}`).join("");
	return `${sentence.charAt(0).toLowerCase()}${sentence.slice(1)}`;
};
const camelCaseToSentence = (content) => {
	return String(content).replace(/([A-Z])/g, " $1").toLowerCase().trim();
};

//#endregion
export { camelCaseToSentence, sentenceToCamelCase };
//# sourceMappingURL=camelCase.mjs.map