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

6 lines
144 B
TypeScript
Raw Normal View History

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