source:
node_modules/es-toolkit/dist/compat/string/padStart.mjs@
a762898
| Last change on this file since a762898 was a762898, checked in by , 6 months ago | |
|---|---|
|
|
| File size: 174 bytes | |
| Line | |
|---|---|
| 1 | import { toString } from '../util/toString.mjs'; |
| 2 | |
| 3 | function padStart(str, length = 0, chars = ' ') { |
| 4 | return toString(str).padStart(length, chars); |
| 5 | } |
| 6 | |
| 7 | export { padStart }; |
Note:
See TracBrowser
for help on using the repository browser.
