const capitalize = (text) => {
    if (!text)
        return '';
    return text.charAt(0)?.toUpperCase() + text?.slice(1)?.toLowerCase();
};

export { capitalize };
//# sourceMappingURL=capitalize.js.map
