source:
node_modules/es-toolkit/dist/compat/string/capitalize.mjs
| Last change on this file was a762898, checked in by , 5 months ago | |
|---|---|
|
|
| File size: 217 bytes | |
| Rev | Line | |
|---|---|---|
| [a762898] | 1 | import { capitalize as capitalize$1 } from '../../string/capitalize.mjs'; |
| 2 | import { toString } from '../util/toString.mjs'; | |
| 3 | ||
| 4 | function capitalize(str) { | |
| 5 | return capitalize$1(toString(str)); | |
| 6 | } | |
| 7 | ||
| 8 | export { capitalize }; |
Note:
See TracBrowser
for help on using the repository browser.
