Files
SupportBot/node_modules/chance/docs/helpers/capitalize.md
T
2021-02-02 13:50:53 +00:00

14 lines
147 B
Markdown

# capitalize
```js
// usage
chance.capitalize(string)
```
Capitalize the first letter of a word
```js
chance.capitalize('bread')
=> 'Bread'
```