# capitalize

`function` in `utils` · v0.4.0

<https://docs.seedcord.org/packages/utils/0.4.0/functions/capitalize>

Returns the word with its first letter capitalized and the rest in lowercase.

```ts
capitalize(word: string): string
```

Returns the word with its first letter capitalized and the rest in lowercase.

Parameters.

- `word` `string` — The word to be formatted.

Returns `string`.
