chore(markdown): Updated utils docs for v3
This commit is contained in:
parent
acf1b72c4c
commit
bc3b0cd770
23 changed files with 782 additions and 622 deletions
19
markdown/dev/reference/api/utils/capitalize/en.md
Normal file
19
markdown/dev/reference/api/utils/capitalize/en.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
title: utils.capitalize()
|
||||
---
|
||||
|
||||
The `utils.capitalize()` function returns the string you pass it with its first
|
||||
letter turned into uppercase.
|
||||
|
||||
## Signature
|
||||
|
||||
```js
|
||||
String utils.capitalize(String input)
|
||||
```
|
||||
|
||||
## Example
|
||||
|
||||
```js
|
||||
capitalize('hello') // returns 'Hello')
|
||||
capitalize('hello there') // returns 'Hello there'
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue