howl/test/utils.ts
2025-11-29 22:58:09 -08:00

5 lines
137 B
TypeScript

// capitalize a word. that's it.
export function capitalize(str: string): string {
return str.charAt(0).toUpperCase() + str.slice(1)
}