misc_pterodactyl-panel/resources/scripts/lib/strings.ts

5 lines
144 B
TypeScript

function capitalize(value: string): string {
return value.charAt(0).toUpperCase() + value.slice(1).toLowerCase();
}
export { capitalize };